interpolating tree fragments in xslt
graydon at pobox.com
Sat May 8 03:05:25 BST 1999
hey, I've noticed you can pass around output tree fragments in xslt as
param-variables, which is nice, it's almost like using sosofos again,
but the burning question I have is "how do I interpolate variables of
this type into a template"?
for example, lets say I do this:
<b>Beetles</b>, arachnids, and <u>chickens</u>
<!-- what do I do here to access $content? -->
The problem is probably really simple but I don't see in the xslt spec
anything about interpolating variables of this type into the body of a
template. There's the <xsl:value-of> which will stringify the output
fragment, but aside from that I'm at a loss as to how to make
templates operate on fragments.
Or am I thinking too dsssl-like here?
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev