[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xsl:sort select question
> In XSLT 1.0 the xsl:sort attribute 'select' states it's an expression > which includes variable bindings, so I assumed that ; > > <xsl:variable name="title" select="'title'" /> > <xsl:sort select="$title" /> > > would be equal to ; > > <xsl:sort select="title" /> No, it's equivalent to <xsl:sort select="'title'"/> Variables in XSLT contain values, not XPath expressions or parts thereof. Michael Kay http://www.saxonica.com/
|
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
|