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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Checking for duplicate elements or attributes

Status
Not open for further replies.

StillANewbie

Programmer
Aug 5, 2005
4
US
Hello,

I am a newbie and this is my first post. I am trying to create hyperlinks to schema documentation. So for each attribute or element, there will be a hyperlink to the schema documentation. The problem that I am facing is that the elements and attributes appear numerous times within the XML document, which in turn creates numerous hyperlinks to the same documentation. This behavior is undesired...I would rather not print duplicate hyperlinks. Any help would be much appreciated. Thanks.

Newbie
 
What technologies are you using?

Jon

"I don't regret this, but I both rue and lament it.
 
I am using HTML, XML, and Javascript (embedded within the XML) Does this help?
 
ooops, the Javascript is in the HTML not the XML. Sorry about that.
 
What code and XML are you using at the moment?

Jon

"I don't regret this, but I both rue and lament it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top