aspose file tools*
The moose likes XML and Related Technologies and the fly likes Trouble with adding elements properly Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Trouble with adding elements properly" Watch "Trouble with adding elements properly" New topic
Author

Trouble with adding elements properly

Dan Grindstaff
Ranch Hand

Joined: Sep 24, 2006
Posts: 138
Hello, I am building an xml doc that is supposed to create fields within a field section and products within a product section. I have a List method to populate the fields section which incorrectly creates all fields instead of one fields with several field values. How can I change the class generated from the xsd to accept a List of fields and put them into the xml document in the right structure? Thankss!

xsd:



generated class:

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41904
    
  63
Do you really expect anyone to look at 1500 lines of XML? Please post an SSCCE.


Ping & DNS - my free Android networking tools app
Dan Grindstaff
Ranch Hand

Joined: Sep 24, 2006
Posts: 138
Sorry about that.
 
 
subject: Trouble with adding elements properly