You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2003/03/10 17:12:04 UTC
DO NOT REPLY [Bug 17278] -
How to print the XML declaration ?
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17278>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17278
How to print the XML declaration ?
tng@ca.ibm.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
------- Additional Comments From tng@ca.ibm.com 2003-03-10 16:12 -------
Please make sure your "*doc" in "theSerializer->writeNode(myFormTarget,*doc);"
is a DOMDocument Node. I've tried using a simple doc like:
e:\>cat temp.xml
<doc/>
and I can get
<?xml version="1.0" encoding="UTF-8" standalone="no" ?><doc/>
the xml decl is printed
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org