xsl-list
[Top] [All Lists]

RE: Read a attribute value from XML file

2003-01-07 02:15:04

I guess you mean something simple like this?

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

Btw check http://www.dpawson.co.uk/xsl/xslfaq.html for these questions.

Regards henkm

| -----Original Message-----
| From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com 
| [mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of 
| Vijaya Kumar Y
| Sent: dinsdag 7 januari 2003 9:52
| To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
| 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>