[jdom-interest] Removing <?xml version="1.0" encoding="UTF-8"?> from an XML doc ? ?

Pandia, Rajesh rajesh.pandia at matrixone.com
Sat Mar 2 13:05:14 PST 2002


Hi:

I need to remove this first line 

"<?xml version="1.0" encoding="UTF-8"?>"

generated from a document like:

<?xml version="1.0" encoding="UTF-8"?>
<MessageHeader>
   <From>
      <PartyId type="COVHUBID">COV_VPW</PartyId>
   </From>
   <To>
      <PartyId type="COVHUBID">GM_GPS</PartyId>
   </To>
   <Service>GPS</Service>
   <Action>LISTRFQ</Action>
   <QualityOfServiceInfo deliverySemantics="OnceAndOnlyOnce"
deliveryReceiptRequ
ested="Unsigned" />
</MessageHeader>

How do I do that using JDOM ? I have generated this using JDOM.

Thanks in Advance for your immediate help.




More information about the jdom-interest mailing list