|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] How to show the value of an attribute?
Hi,
making XML data visible in an HTML table is seems to be easy, I just do
(after creating a table and a row) the following:
<xsl:template match="/positions/position/description">
<TD ALIGN="RIGHT" VALIGN="CENTER">
<xsl:value-of />
</TD>
</xsl:template>
However, I wonder how it is possible to put the value of an attribute
(example: <key name="masterkey">k543 z54</key>) in this tablecolumn
(in this case: "masterkey", and not the value "k543 z54".
Can anybody help?
Another question: What is the <DIV> tag for?
Thank you in advance...
Mario, Berlin
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








