This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
josh gang
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
Please give me the reply,its very urgent
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic