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.
Thanks,
Eliot
--
W. Eliot Kimber
Professional Services
Innodata Isogen
8500 N. Mopac, Suite 402
Austin, TX 78759
(214) 954-5198
ekimber(_at_)innodata-isogen(_dot_)com
www.innodata-isogen.com
--~------------------------------------------------------------------
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>
--~--