aspose file tools
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Need help--how to add new attributes to the existing xml
 
Similar Threads
parameters of web services operation - Java.lang.object
Namespace and Package Name Problem
Web Service : Axis as server and C# as client
Session Variable problem in EJB
WebService Client - Unexpected SubElement Exception