|
Subject: Re: [xsl] Numbering similar nodes sequentially in the output From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Wed, 12 Oct 2011 17:07:09 -0400 |
My gut feeling is that thee is no helpful pattern in selecting the members of the output. Building a temporary tree is just the thing. I had no idea that I could do that. I'll do some reading up on them and try it.
<xsl:variable name="intermediate">
<FormatPage>
....
</FormatPage>
</xsl:variable>
<xsl:apply-templates mode="augment-result" select="$intermediate"/> <xsl:template mode="augment-result" match="Formats">
...
<xsl:attribute name="label" select="position()"/>
...
</xsl:template>On another topic, thanks for the lead on the Crane publications.
-- Contact us for world-wide XML consulting and instructor-led training Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Google+ profile: https://plus.google.com/116832879756988317389/about Legal business disclaimers: http://www.CraneSoftwrights.com/legal
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Numbering similar nodes s, Mark | Thread | Re: [xsl] Numbering similar nodes s, Mark |
| Re: [xsl] Numbering similar nodes s, Mark | Date | Re: [xsl] Numbering similar nodes s, Mark |
| Month |