Subject: RE: [xsl] Using the Input Document to Control Generation of Numbers in the Output From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Tue, 2 Oct 2007 14:57:37 +0100 |
> What about > <xsl:template match="incoming"> > <outgoing name="{@name}" > index="{count(preceding-sibling::*[not(@size)]) + 1 + > sum(preceding-sibling::*/@size)}"></outgoing> > </xsl:template> Sure, you can do that, but it's likely to be O(n^2). Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Using the Input Document , George Cristian Bina | Thread | RE: [xsl] Using the Input Document , Kerry, Richard |
Re: [xsl] Using the Input Document , George Cristian Bina | Date | Re: [xsl] iterate through nodes and, Wendell Piez |
Month |