Element-matching without hardcoded values

Subject: Element-matching without hardcoded values
From: "Westerlund, Malin" <malin.westerlund@xxxxxxxxxx>
Date: Fri, 7 Apr 2000 14:27:08 +0200
Hi all,
I'm trying to create a default stylesheet, in which I want to retrieve only
the first parent and it's childnodes nodenames.

I would like the xsl to look something like this:

<xsl:template match="/">	
	<xsl:value-of select="the first parent under the root">
		<xsl:node-name>
		<xsl:for-each select="parent/children">
			<xsl:node-name/>
		</xsl:for-each>	
	</xsl:for-each>
</xsl:template>	

Thanks

Malin


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


Current Thread