If you pass a text string as your parameter, it will be interpreted as a
text string.

I *think* it's possible to pass in a DOM tree; if so, that would address
your need.

If not, it's certainly possible for an extension function to return a DOM
tree, so you could solve the problem that way: pass the parameter as a
string, but put it through an extension which runs its argument through a
parser to obtain a DOM and assign that to a global variable, then use that
variable rather than directly accessing the parameter.

______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
"The world changed profoundly and unpredictably the day Tim Berners Lee
got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk

Reply via email to