[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: 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

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member