|
Subject: Re: [xsl] XPath problem with getting all ancestors From: Jostein Austvik Jacobsen <josteinaj@xxxxxxxxx> Date: Fri, 23 Oct 2009 16:25:25 +0200 |
Regards Jostein
<xsl:template match="article"> <xsl:variable name="v1"> <xsl:copy-of select="content/node()"/> </xsl:variable> <xsl:sequence select="mf:group($v1/node())"/> </xsl:template>
As I suspected, you are copying the nodes, and the copies do not have the
same ancestors.
It's not clear to me WHY you are copying them - it seems quite unnecessary.
Regards,
Michael Kay http://www.saxonica.com/ http://twitter.com/michaelhkay
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] XPath problem with gettin, Michael Kay | Thread | Re: [xsl] XPath problem with gettin, Vyacheslav Sedov |
| RE: [xsl] XPath problem with gettin, Michael Kay | Date | Re: [xsl] XPath problem with gettin, Vyacheslav Sedov |
| Month |