ADDING DOCTYPE tag to existing xml doc. - Programmers Heaven

Howdy, Stranger!

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

Categories

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.