C# XmlDocument.CreateDocumentType
        Posted  
        
            by Thorbjørn Reimann-Andersen
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Thorbjørn Reimann-Andersen
        
        
        
        Published on 2010-06-16T11:35:13Z
        Indexed on 
            2010/06/16
            11:52 UTC
        
        
        Read the original article
        Hit count: 1072
        
c#
|xmldocument
hi all,
I am trying to figure out of the CreateDocumentType() works in C# and although i have already found and read the msdn page on it, i can not get it to work for me.
I am simply trying to create this line in my xml document:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
Can someone help me out with the syntax required for this
© Stack Overflow or respective owner