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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: xpointer and xpath, Kay Michael | Thread | RE: Element-matching without hardco, Kay Michael |
RE: xpointer and xpath, Linda van den Brink | Date | Re: XSLT for unflattening a tree?, Wendell Piez |
Month |