remove header comment from Xerces output

Discussion in 'XML' started by Shane Spraggs, Jan 16, 2004.

  1. Hi,

    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
    DOMWriter.

    Can someone tell me how to remove it?

    Thanks.
     
    Shane Spraggs, Jan 16, 2004
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Alec S.
    Replies:
    10
    Views:
    11,205
    Alec S.
    Apr 16, 2005
  2. mel-tey chamon!
    Replies:
    2
    Views:
    1,527
    Patrick TJ McPhee
    May 16, 2004
  3. RSG
    Replies:
    1
    Views:
    688
    Joris Gillis
    Nov 9, 2004
  4. cvissy
    Replies:
    0
    Views:
    826
    cvissy
    Nov 16, 2004
  5. mlt
    Replies:
    2
    Views:
    1,137
    Jean-Marc Bourguet
    Jan 31, 2009
  6. Stefan Ram
    Replies:
    1
    Views:
    446
    Arne Vajhøj
    Oct 11, 2009
  7. Lew
    Replies:
    16
    Views:
    1,499
    Wojtek
    Oct 14, 2009
  8. Roedy Green

    Re: Script to replace header comment

    Roedy Green, Oct 12, 2009, in forum: Java
    Replies:
    1
    Views:
    650
    Roedy Green
    Oct 12, 2009
Loading...