[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: using the node-set() extension function (xt vs. saxon)
Eric Vermetten wrote: > > Hello all, > > I'm experiencing difficulties in using the extension function > node-set(). The xt version behaves as expected. The saxon version > (version 5.5.1) gives me problems. > <!--****** saxon version ******--> > <?xml version='1.0' encoding="ISO-8859-1"?> > <!--saxon version--> > > <xsl:stylesheet version="1.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:saxon="http//icl.com/saxon" > extension-element-prefixes="saxon"> > <xsl:output method="xml" encoding="ISO-8859-1"/> > > <xsl:variable name="indexx"> > <indexentry>ind2</indexentry> > <indexentry>ind1</indexentry> > </xsl:variable> > > <xsl:template match="/"> > <entries> > <xsl:for-each select="saxon:node-set($indexx)/indexentry"> > <xsl:sort select="." order="ascending" > data-type="text" /> > <xsl:value-of select="."/> > </xsl:for-each> > </entries> > </xsl:template> > </xsl:stylesheet> > > output: > Transform failed: At xsl:for-each on line 17 of > file:D:/tgosaxon.xsl: Failed to load saxon Eric -- Please a colon (:) after the http in the value of the xmlns:saxon attribute. Gary 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
|