Subject: Re: How to show the value of an attribute? From: Keith Visco <kvisco@xxxxxxxxx> Date: Tue, 09 Mar 1999 11:36:19 -0500 |
Mario, for your example use <xsl:value-of select="@name"/> -Keith Mario Christ wrote: > > 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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
How to show the value of an attribu, Mario Christ | Thread | Re: How to show the value of an att, Lars Marius Garshol |
RE: lambda was RE: W3C-transformati, Didier PH Martin | Date | RE: XT examples as Applet in browse, Mike Dierken |
Month |