Subject: [xsl] <xsl:for-each> help From: "Zoe" <zoe@xxxxxxxxxxxx> Date: Wed, 1 May 2002 15:56:11 -0400 |
Hi, I want to display the specific service id="01"'s name. how can I approach this? The result will be 'My News'. does it have any condition that I can use? Thanks. <xsl:for-each select="dynamictree/category/service"....? > <!-- serviceid =01, name="My News" --> </xsl:for-each> XML file: - <dynamictree version="1" statuscode="0" statusdesc="OK"> - <category id="1" name="Favorite"> - <service id="01" name="My News"> <querykeyword id="7003" name="News USA" /> <querykeyword id="7004" name="News Africa" /> </service> - <service id="02" name="My Stocks"> <querykeyword id="7001" name="Stock Quotes" /> </service> </category> </dynamictree> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] data translation => desce, Wendell Piez | Thread | Re: [xsl] <xsl:for-each> help, Thomas B. Passin |
Re: [xsl] accessing previously crea, Greg Faron | Date | SV: [xsl] using mode-values within , bryan |
Month |