Using XSL to find duplicate ID's

webmasterbeta

New Member
<xsl:when test="preceding::ID = ID or following::ID = ID">

Currently, I'm using the code above to find duplicate ID's in the XML file. The problem is that there is over 37 thousand lines of code and growing in the XML file, and checking one ID with every other ID to see if there is a duplicate takes a long time.

Does anyone know a better way?
 
Back
Top