[Home] [By Thread] [By Date] [Recent Entries]
If my xml file is <a> <b val1="c" val2="d"> </b> </a> Can I use my xsl like this to access the val1 attribute? <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"> <xsl:template match="a"> <html> <xsl:apply-templates select="b"/> </html> </xsl:template> <xsl:template match="b"> <font value="10"> <xsl:value-of select="@val1"/></font> </xsl:template> Thanx, Francis XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



