Meaningless Drivel is fun!*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 41149
    
  45
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Trouble with adding elements properly
 
Similar Threads
@WebService method returning a custom class containing a HashMap / JAX-WS
XSD element validation
web services client is not validating parameters
Netbeans jax-ws generated sources erroring on method invocation.
JAX-WS and REST, anyone?