Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

ADDING DOCTYPE tag to existing xml doc.

saumstersaumster Posts: 31Member
Hi,

this is what i need to do:

i already have the XML string in form of an xml document or a String. when the xml was created, it was created using WriteXML method on a typed dataset and has the DOCTYPE tag missing.

How can i insert the DOTYPE tag and VERSION at the beginning of the document and append the rest of the XMl (as string or any other way) in the easiest manner?

help appreciated,

-Sam.
Saumil Annegiri,
Research Assistant,
Center for Business and Information Technologies,
ULLafayette, LA
ph. # 337-654-8660

Sign In or Register to comment.