|
Hi
Bryan,
I've
checked that example. It works and you shouldn't have any problems if you use
DOM 2 Level methods building the DOM: createElementNS, setAttributeNS, etc.
You must specify correct namespace-uri, in the case of XSLT it's "http://www.w3.org/1999/XSL/Transform".
But I
belive using DOMSource as templates source is not very good solutions in the
case of Xalan because it uses implementation of TRAX Templates implementation,
which can be created once and cached in your system, so you don't need any other
objects (like DOM implementation) to cache it.
In the
case of input document it's not very good idea to use DOM because Xalan uses DTM
which is supposed to be much faster and smaller than Xerces DOM implementation.
So Xalan will translate your DOM to DTM before processing it. Or it will
probably will try to process DOM (I'm not sure exactly), but it will be much
slower.
Thanks,
Dmitry
|
- stylesheet requires attribute: version Etienne Deleflie
- Re: stylesheet requires attribute: version Gary L Peskin
- Re: stylesheet requires attribute: version Etienne Deleflie
- more on this ....Re: stylesheet requires at... Etienne Deleflie
- Re: more on this ....Re: stylesheet req... Gary L Peskin
- Re: more on this ....Re: styleshee... Etienne Deleflie
- Re: more on this ....Re: style... Gary L Peskin
- Re: more on this ....Re: style... Etienne Deleflie
- RE: stylesheet requires attribute: version Voytenko, Dimitry
- RE: stylesheet requires attribute: version Voytenko, Dimitry
- Re: stylesheet requires attribute: version Bryan Mulvihill
