Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Reverse Order | ||||||||
Line: 16 to 16 | ||||||||
Long answer: http://www.dpawson.co.uk/xsl/sect2/nbsp.html | ||||||||
Added: | ||||||||
> > | PassthroughThis transform (which I learned from the guys that wrote the Maverick MVC framework) passes everything through unmolested.<xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:template> | |||||||
\ No newline at end of file |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
Reverse OrderSometimes you want to display a list of items in the reverse order than they appear in the document. http://www.biglist.com/lists/xsl-list/archives/200105/msg00236.html shows how:<xsl:apply-templates select="item"> <xsl:sort select="position()" data-type="number" order="descending" /> </xsl:apply-templates> Non-breaking SpaceShort answer: use   instead of Long answer: http://www.dpawson.co.uk/xsl/sect2/nbsp.html |