[jdom-interest] Removing <?xml version="1.0" encoding="UTF-8"?> from
an XML doc ? ?
Jason Hunter
jhunter at acm.org
Sun Mar 3 23:25:52 PST 2002
But then you would miss out on any content outside the root element,
like PIs or comments. That's why you need the special method.
-jh-
Michel Gutierrez wrote:
>
> I presume if you use the output method on the document's root element instead
> of the document itelf, that should do it.
>
> On Saturday 02 March 2002 22:05, Pandia, Rajesh wrote:
> > 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.
> >
> > _______________________________________________
> > To control your jdom-interest membership:
> > http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourho
> >st.com
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
More information about the jdom-interest
mailing list