[Home] [By Thread] [By Date] [Recent Entries]
Wow guys thats incredible! Thank you so very much for your help. I'm
restricted to using XPath 1.0 due to compatibility issues with JBoss and our
framework. But thanks to this neat little script courtesy of David is a
blessing.
I knew I was supposed to use keys, but I wasn't using it properly. The use="concat(@name,' ',@type)" is brilliant! And I wasn't using generateID correctly either. If you could be so kind as to explain how this statement works, I would greatly appreciate it. <xsl:for-each select="//xsd:element[generate-id()=generate-id(key('allElements',concat(@name,' ',@type,' ',@ref)))]"> (dont mind the subtle changes)
|

Cart



