internal override bool IsValidChildType( XmlNodeType type ) {
return(type == XmlNodeType.Text ||
type == XmlNodeType.Element ||
type == XmlNodeType.ProcessingInstruction ||
type == XmlNodeType.Comment ||
type == XmlNodeType.CDATA ||
type == XmlNodeType.Whitespace ||
type == XmlNodeType.SignificantWhitespace ||
type == XmlNodeType.EntityReference);
}