Abram-Profeta, Emmanuel wrote: > > Basically, I'd like to create a node set inside an extension function. In > pseudo-code, here's what's going on: > [snip] > My problem is that I would like to create new nodes and embedded the > existing elements in them. For instance, I'd like the <xsl:copy-of > select="external:myfunc($input)"/> to return something like > > So my question is, what is the best way to generate new XalanNodes in such > a way that they get properly created and deleted inside the > transformation.
I can't say what the best way is, but have you had a look at the NodeSet() extension function? I would have thought it should give you some pointers. /Per Jessen, Zurich http://timian.jessen.ch - an analog report formatter using XSLT.
