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

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:
    10,113
    Alec S.
    Apr 16, 2005
  2. cvissy
    Replies:
    0
    Views:
    603
    cvissy
    Nov 16, 2004
  3. mlt
    Replies:
    2
    Views:
    827
    Jean-Marc Bourguet
    Jan 31, 2009
  4. Stefan Ram
    Replies:
    1
    Views:
    373
    Arne Vajhøj
    Oct 11, 2009
  5. Lew
    Replies:
    16
    Views:
    1,341
    Wojtek
    Oct 14, 2009
Loading...

Share This Page