[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] Removing the extra elements through template match
Subject: Re: [xsl] Removing the extra elements through template match
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 2 Nov 2006 12:41:08 GMT
|
change
<xsl:template match='story'>
to
<xsl:template match='/'>
so it matches the docuemnt root, then change
<xsl:value-of select="try_id"/>
to
<xsl:value-of select="aaxml/item/story/try_id"/>
so it works relative to the new current node, /.
David
|