protected override DomNode CloneCore() { var result = OwnerDocument.CreateDocumentType(NodeName); result.CopyAnnotationsFrom(AnnotationList); return(result); }
// Creates a duplicate of this node. public override XmlNode CloneNode(bool deep) { Debug.Assert(OwnerDocument != null); return(OwnerDocument.CreateDocumentType(_name, _publicId, _systemId, _internalSubset)); }
public DomDocumentType CreateDocumentType(string name) { return(OwnerDocument.CreateDocumentType(name)); }
public DomDocumentType CreateDocumentType(string name, string publicId, string systemId) { return(OwnerDocument.CreateDocumentType(name, publicId, systemId)); }
// Clone this node. public override XmlNode CloneNode(bool deep) { return(OwnerDocument.CreateDocumentType (name, publicId, systemId, internalSubset)); }