Hello, I am trying to create an xml doc with elements arranged as follows: XML Doc example Notice that the Field elements are nested in Fields and have a name attribute, the product elements I am fine with so I will not address those. I am building an xsd to accomplish getting the Fields right and having some difficulty. This is a piece of the xsd I have that addresses the fields:
and to nest within the datafeed:
So far I am able to build the classes from xjc and marshall the xml but I cannot get the Field element to show up nested in the Fields element. I only get one or the other showing up depending on the element in the FeedType section.