xsl-list
[Top] [All Lists]

Re: [xsl] Numbering new nodes using consecutive integers

2009-03-27 14:09:16
Wendell Piez schrieb:

In addition to David's and Ken's suggestions, here's a Gordian knot
solution to consider -- is there any reason why this has to be done in
a single pass?

The challenge! So, no, there isn't.

The numbering would be trivially easy in a second pass.

I agree.

In general, I agree that this isn't really a job for xsl:number, whose
primary application is to generate numbers relative to the source
tree, not the result.

Yes, but how would you *ever* generate numbers relative to the result ?!

Michael Ludwig

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--