|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Wanted: All unique namespaces in a document
> <xsl:for-each select=" > //* > [not( namespace-uri(.) = namespace-uri(preceding::.))] > "> > > <xsl:value-of select="namespace-uri(.)"/> > </xsl:for-each> > > Fails in SAXON (illegal construct preceding::.). In Xerces it does not fail, > and returns the namespace URI string for each element in the document. If you correct namespace-uri(preceding::.) to namespace-uri(preceding::*[1]) do you get something closer to what you want? An input file and a complete XSL script could enable a better answer. Steve XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








