Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > remove header comment from Xerces output

Thread Tools

remove header comment from Xerces output

Shane Spraggs
Posts: n/a

I'm using Xerces to produces XML output. No matter what I do, the first
line is always the Xerces comment: <?xml version="1.0" encoding="UTF-16"
standalone="no" ?>

I need to get rid of it, since the app I'm passing the XML to doesn't
ignore it.

I'm building the doc using DOMDocument and I'm writing the doc using

Can someone tell me how to remove it?

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Script to replace header comment Stefan Ram Java 1 10-11-2009 01:28 PM
Header files with "header.h" or <header.h> ?? mlt C++ 2 01-31-2009 02:54 PM
? ELSE Conditional Comment / Using Conditional Comments Inside Other Tags To Comment Out Attributes Alec S. HTML 10 04-16-2005 02:21 AM
Upgrade of Xalan 1.2.2 and Xerces 1.4.4 to Xalan 2.6 and Xerces 2.6.2 cvissy XML 0 11-16-2004 07:06 AM
Newbie question : Xerces (C++) How do I create the <?xml version="1.0" encoding="UTF-8" ?> header mel-tey chamon! XML 2 05-16-2004 02:34 AM