[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How to show the value of an attribute?

Subject: Re: How to show the value of an attribute?
From: Keith Visco <kvisco@xxxxxxxxx>
Date: Tue, 09 Mar 1999 11:36:19 -0500
xsl show attribute example
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.