If your stylesheet is accessible via a URL, you can do something similar
to this.....
ProcessingInstruction pi =
doc.createProcessingInstruction("xml-stylesheet", "type=\"text/css\"
href=\"" + styleSheetURL + "\"");
doc.insertBefore(pi, doc.getDocumentElement());
-----Original Message-----
From: javaNoob [mailto:[EMAIL PROTECTED]
Sent: 20 August 2007 18:37
To: [email protected]
Subject: how to load an external stylesheet?
how can i load an external stylesheet?
--
View this message in context:
http://www.nabble.com/how-to-load-an-external-stylesheet--tf4300368.html
#a12240396
Sent from the Batik - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]