Subject: Re: [xsl] Numbering new nodes using consecutive integers From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 27 Mar 2009 13:35:23 -0400 |
I added an additional level <G2> to a hierarchy of <Groups> and <G1>. I want to assign numbers to the newly created <G2> nodes, which identify them in the document. I managed to do so using <xsl:number>.
Now it would be perfect if the numbering was done as a strict sequence of consecutive integers, meaning 1,2,3 instead of, say, 1,3,5.
Can this be done in 1.0, or 2.0, for that matter?
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Numbering new nodes using, Michael Ludwig | Thread | Re: [xsl] Numbering new nodes using, Michael Ludwig |
Re: [xsl] Compound filter in for-ea, Alan Hale | Date | [xsl] atom:content @type="html" con, Rushforth, Peter |
Month |