Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Beginner - How can I override duplicate tags ?

Status
Not open for further replies.

robinreg7

Programmer
Jan 31, 2006
2
IT
I want to generate a Java bean (by means of WebSphere) to read and update a given XML file necessary to deal with the Internal Revenue Service of my country.
Unfortunately, there are a few duplicate tags and the WebSphere tool can't figure out how to deal with them properly.

What can I do ?
Can I rename the tags ?

If I put
<city_birth> instead of <city>

<city_of_residence> instead of <city>

will the IRS be able to read the file properly ?

Thanks
Roberto


 
The answer to your question is, "No."

However, you may develop a document using whatever element names you wish, then as a final step, use XSLT to produce the final document to be sent to the government agency.

Learn about XSLT here.

Tom Morrison
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top