dom2dom: producing specialized nodes 2005-10-10 - By Stéphane Conversy
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
|
|