xsl-list
[Top] [All Lists]

Re: Read a attribute value from XML file

2003-01-07 02:20:48
Hi,

It's really simple.

<xsl:for-each select="///Column">
<xsl:value-of select="@Title"/>
</xsl:for-each>

Cheers,
Babu Sathish.

----- Original Message ----- 
From: "Vijaya Kumar Y" <vijayay(_at_)aztec(_dot_)soft(_dot_)net>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Tuesday, January 07, 2003 2:22 PM
Subject: [xsl] Read a attribute value from XML file


Hi 
  i have an XML file, as follows

<XML ID="NewsWebSites">
<ROOT>
<Site>
<Column Title="MfgName"/>

</Site>
<Site>
<Column Title="Manufactrer"/>
</Site>
</ROOT>
</XML>


my question is how to select the value of Title from XSL file

regrads
Vijay



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>