dcsimg
Adding <?xml version="1.0"?>
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   WarnerJan_Veldhuis
Posted On:   Friday, May 10, 2002 05:29 AM

Hi,

I have servlet which gets a ResultSet with which I create a DOM. Pretty fine so far....

The problem is: there is no line <?xml version="1.0"?> at the top of my XML-file. How can I get that line in my DOM-object? Or do I write that one to the PrintStream myself ?

Greets,

WarnerJan

Re: Adding &lt;?xml version="1.0"?&gt;

Posted By:   Anonymous  
Posted On:   Friday, May 10, 2002 06:18 AM

If you are using the XmlSerializer from Xerces to write your DOM object to the outputstream, that line is added automaticaly
About | Sitemap | Contact