[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

select nodes only one level with same name


Subject: select nodes only one level with same name
From: xsl-list@xxxxxxxxx
Date: Mon, 24 May 1999 22:00:14 +0700 (OSS)

hi*

Example of xml:

<rootnode>
<operation>
	bla-bla-bla...
	<operation>
		another bla-bla-bla...
	</operation>
	another bla-bla-bla again
</operation>

Example of xsl:


<xsl:template match="/">                                                             
bla-bla...
<xsl:apply-templates select="I want to select first operation node">
bla-bla-...
<xsl:apply-templates select="I want to second level operation node">
</xsl:template>

How can I do it?
Thanks.
Eugeny.


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



Current Thread