Subject: RE: [xsl] XPath problem with getting all ancestors From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Fri, 23 Oct 2009 14:20:20 +0100 |
> <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, ac | Thread | Re: [xsl] XPath problem with gettin, Jostein Austvik Jaco |
Re: [xsl] XPath problem with gettin, ac | Date | Re: [xsl] XPath problem with gettin, Jostein Austvik Jaco |
Month |