"Bennett" writes:
>I'm running into a situation where I need to pass an XML Tree into
>a param in a stylesheet.

If that tree were in a file, you could pass the filename as a string
parameter, then call document() with a URIfied version of the filename
as its argument. If you want to look at the source code of document(),
you may get some ideas on how to hack it to take a new URI scheme. Or
it could be the basis for an extension function that takes a suitable
identifier as argument.

XSLT 2.0 will probably introduce useful techniques for doing this.
Anyone thinking about a durable solution should look at the draft
spec, particularly the "Initiating a Transformation" section.
.................David Marston

Reply via email to