xsl-list
[Top] [All Lists]

Re: [xsl] Removing the extra elements through template match

2006-11-02 05:41:21


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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>