This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes XML and Related Technologies and the fly likes Need help--how to add new attributes to the existing xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Need help--how to add new attributes to the existing xml" Watch "Need help--how to add new attributes to the existing xml" New topic
Author

Need help--how to add new attributes to the existing xml

josh gang
Greenhorn

Joined: Apr 12, 2012
Posts: 2
Hi,
Am very new to xml,
My problem is i need to add two attributes to the existing presently generated xml.
I added the two attributes in dtd also.but xml is generated with out that attributes.
In mycode they are generating the xml by using marshalling concept.
they are generated the xml by using this code



for ech element in the xml they wrote separate java files and one decriptor java file.
same way i added the new attributes in descriptor java but when i added and check it went to error page.
Please see the java file and descriptor file.

RefToCircuit.java
===============


RefToCircuitDescriptor.java
========================





I guesss that i need to map these attributes in some mapping.xml.but i didnt found any of that xml
Please help me.
it is some what urgent
am trying for this from past 2 days.

thanks
--------
joshna
josh gang
Greenhorn

Joined: Apr 12, 2012
Posts: 2
hi,
Please give me the reply,its very urgent
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need help--how to add new attributes to the existing xml