Hi,
> In the following xml document, what is the best way to
> display 'id' and
> 'description' of element lln and 'name' of element N when
> objname='Folder'?
I don't really understand what's the thing you're having problems with, but
<xsl:template match="lln[objname = 'Folder']">
<xsl:value-of select="@id"/>
<xsl:text> </xsl:text>
<xsl:value-of select="@description"/>
<xsl:text> </xsl:text>
<xsl:value-of select="n/@name"/>
</xsl:template>
Will display the info you wanted.
Cheers,
Jarno
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Best practices
- SHEIKH Sajjad - Mon, 19 Jan 2004 09:19:53 -0500 (EST)
- <Possible follow-ups>
- Jarno . Elovirta - Mon, 19 Jan 2004 09:37:03 -0500 (EST) <=
- SHEIKH Sajjad - Tue, 20 Jan 2004 08:07:46 -0500 (EST)
|
|