Re: [xsl] Processing a Sequence of String Tokens in XSLT 2

Subject: Re: [xsl] Processing a Sequence of String Tokens in XSLT 2
From: "Eliot Kimber" <ekimber@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 06 Jun 2007 15:31:00 -0500
Michael Kay wrote:

It's probably inefficient to create the temporary document for
$resultString, although of course it depends on the implementation.

Ah--this may be the crux of my lack of understanding of sequences and their implications in XSLT 2.

So the xsl:variable results in a temporary document--now that I look for it, I see that's explained in 9.4 "Creating implicit document nodes", which I probably never would have read if I hadn't started this discussion (since I would only every want to create document nodes *explicitly* why would I care about creating them implicitly?) :-)

Now I get it (I think).

And thanks to both Andrew and Mike for pointing out the XPath alternative--I still have a bit of XSLT/XPath 1 brain damage and I forget that XPath 2 is much more capable than before.



W. Eliot Kimber
Professional Services
Innodata Isogen
8500 N. Mopac, Suite 402
Austin, TX 78759
(214) 954-5198


Current Thread