Subject: Re: [xsl] Nodes get new IDs in function? From: David Carlisle <davidc@xxxxxxxxx> Date: Fri, 09 Apr 2010 01:37:50 +0100 |
<xsl:function name="o2e:parent-heading" as="element()*"> <xsl:param name="heading" as="element()"/> <xsl:copy-of select="$heading/preceding-sibling::h:*[self::h:h1 or self::h:h2 or self::h:h3 or self::h:h4 or self::h:h5 or self::h:h6][o2e:heading-level(.)< o2e:heading-level($heading)][1]"/> </xsl:function>
The problem is, it seems that nodes returned from the parent-heading() function get different IDs than identical nodes in the source document. Is this the specified behavior, i.e. functions construct new nodes, which get new IDs?
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Nodes get new IDs in function, Martynas Jusevicius | Thread | Re: [xsl] Nodes get new IDs in func, Imsieke, Gerrit, le- |
Re: [xsl] Total Missing documents f, David Carlisle | Date | Re: [xsl] Nodes get new IDs in func, Imsieke, Gerrit, le- |
Month |