I have a question for the community.
I need to generate the following XML (see below) to issue a request.
Which pattern should I use to create this Xml request, without using Composite Pattern?
I know I could create a Customer class containing a Person and an Address class and then serialize it to XML.
However, how can I create this XML using a pattern? And which pattern should I use?