I didn't test it by the spirit is not so far :-)
myDocument.createProcessingInstruction("xml-stylesheet","href
='myStylesheet.xsl' type='text/xsl'"), myDocument.getDocumentElement());
--
A++
Stéphane
a the bottom of 'plain text mails' from the list :
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubsc
This works fine !!!
Thanks you for your help.
Stéphane
I hope this works
org.apache.xml.serialize.OutputFormat.setOmitXMLDeclaration()
XMLSerializer serial=new XMLSerializer(outstream,format);
serial.asDOMSerializer();// As a DOM Serializer
serial.serialize(doc.getDoc
Hi all !
My goal is to put into a XML file that i produce from scratch a
CDATASection with a portion of XML into like this :
blabla
blabla too
I'm not a specialist of what you want to do.
Node testTarget = document.getElementsByTagName("head").item(0);
EventListener TestEventListener = new EventListenerImpl();
testTarget.addEventListener( "mutation", TestEventListener, false );
testTarget is a instance of the class Node (from package