• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
Please give me the reply,its very urgent
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic