InterviewSolution
Saved Bookmarks
| 1. |
Why Does Xstream Not Write An Xml Declaration? |
|
Answer» XStream is designed to write XML snippets, so you can embed its output into an EXISTING stream or STRING. You can write the XML DECLARATION yourself into the Writer before using it to call XStream.toXML(writer). XStream is designed to write XML snippets, so you can embed its output into an existing stream or string. You can write the XML declaration yourself into the Writer before using it to call XStream.toXML(writer). |
|