At 08:35 AM 10/13/2006, was written:
I do need the for loop because my xml file has more then one set of
infobject.
Sorry, Minho, that doesn't follow.
That's what templates are for, not "for loops", which aren't loops
and are not called loops when described accurately, but only imagined
by some to be loops by false analogy to other programming languages.
You can do this with a for-each instruction, but anything you can do
with a for-each instruction you can do with templates, and usually
far better. If you expect to use XSLT much, you should look at
templates since the sooner you learn how to use them, the less likely
you'll be to get yourself tangled into "for loops" of spaghetti code.
Cheers,
Wendell
--~------------------------------------------------------------------
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>
--~--