This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 41020
    
  43
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Trouble with adding elements properly
 
Similar Threads
JAX-WS and REST, anyone?
web services client is not validating parameters
XSD element validation
Netbeans jax-ws generated sources erroring on method invocation.
@WebService method returning a custom class containing a HashMap / JAX-WS