This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Element-matching without hardcoded values
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: Element-matching without hardcoded values
- From: "Westerlund, Malin" <malin dot westerlund at framfab dot se>
- Date: Fri, 7 Apr 2000 14:27:08 +0200
- Reply-To: xsl-list at mulberrytech dot com
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