|
Subject: RE: [xsl] Best practices From: Jarno.Elovirta@xxxxxxxxx Date: Mon, 19 Jan 2004 16:36:58 +0200 |
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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Best practices, SHEIKH Sajjad | Thread | Re: [xsl] Best practices, G. Ken Holman |
| Re: [xsl] encoding <-> omit-xml-dec, Stan Devitt | Date | Re: [xsl] Exsl functions in xslt 2, David Carlisle |
| Month |