[jdom-interest] Changing XML Declaration
jhunter at collab.net
Thu Sep 13 11:35:54 PDT 2001
Isn't it <?xml-stylesheet?> that you really want, and I believe it
should follow the declaration, not be the declaration.
a b wrote:
> Hello everyone,
> I'm pretty new to the XML world and would greatly
> appreciate it if someone could help me out by pointing
> me in the right direction. I'm trying to change the
> XML Declaration for a document that I've created in
> memory. In other words, the XML Declaration currently
> looks like this:
> -- <?xml version="1.0" encoding="UTF-8"?> --
> but I need it to look like this instead:
> -- <?xml:stylesheet type="text/xsl" href="somexs.xsl"
> version="1.0" encoding="UTF-8"?> --
> Is it possible to modify it the xml declaration to
> look like the line above?
> Here's a snippet of the code that I'm using to
> generate the document:
> SAXBuilder saxObj = new SAXBuilder();
> Document xmlDoc =
> return xmlDoc;
> Thanks for your help...
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
> To control your jdom-interest membership:
More information about the jdom-interest