Need help--how to add new attributes to the existing xml
posted 4 years ago
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.