Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML, VB and DTD's

Status
Not open for further replies.

kamm

Programmer
Dec 4, 2000
17
GB
I am creating an xml file in VB which I have managed to do but I would like to insert a dtd reference so the xml document can be validated at a later date. The line I want to insert is:
<!DOCTYPE xx:xXML SYSTEM &quot;xXML.dtd&quot;>
Does anyone know how to do this from VB?
 
If you are using MSXML Parser there is this method :

oXMLDOMDocument.createProcessingInstruction

I have tried it, but had huge problems with it.
If you can make it work, please post a line.
/JOlesen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top