Le 10 oct. 05, à 19:55, Joseph Kesselman a écrit :
What _kind_ of node are you passing into DOMResult. Generally, as the
setNode method notes, it should be a Document node -- if your DOM
implementation permits adding top-level nodes to the Document, not all
do
-- or an Element node, or a DocumentFragment node. Xalan's output
should be
constructed as descendants of that node.
if I pass a document Node, I get an error during the transformation
process, it denies the creation of a new element directly under the
document node.
This is the Batik implementation.
______________________________________
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
--
stéphane conversy
http://www.tls.cena.fr/~conversy