Thursday, August 18, 2005

Adding a doctype to System.Xml.XmlDocument


Doc.AppendChild _
( _
Doc.CreateDocumentType _
( _
name:="html", _
publicID:="-//W3C//DTD XHTML 1.0 Strict//EN", _
systemID:="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd", _
internalSubset:=Nothing _
) _
)

No comments:

Post a Comment