[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: function last() not matching the last element tag
Ross Buchanan wrote:
I <xsl:template match="/doc/p"> <p class="p"><xsl:value-of select="." /></p> </xsl:template> Btw, you can get rid of the parent-node matching in your example. There seems no need to test for the parent of 'p' being 'doc'. Like this: <xsl:template match="p"> <p class="p"><xsl:value-of select="." /></p> </xsl:template> ... etc for the other template matches -- Abel
|
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
|