|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Simple xsl question
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
|
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
|

Cart








