Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - remove xml header with java dom? >Thread Next - Re: remove xml header with java dom? Re: remove xml header with java dom?To: NULL Date: 4/3/2006 3:01:00 AM Elhanan wrote: > i'm reading an xml string and i would like to remove it's header, What's an "XML Header" ? If you mean the prolog, then the DOM removes that anyway - it's not part of the DOM, it's part of how you serialise the document into some serial storage, like a file or a web document. If you re-write this same DOM to different places, then the DOM serialiser will give you a new one each time - and you can control what goes into it appropriately for each use (mainly to choose the encoding specified) If you're interested in the more general case, such as binding to an XSLT stylesheet, then look at how to handle "processing instructions" | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
