<commit_before>// XmlNode.cs
// Script#/Libraries/Web
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//

using System.Runtime.CompilerServices;

namespace System.Xml {

    [ScriptIgnoreNamespace]
    [ScriptImport]
    public class XmlNode {

        internal XmlNode() {
        }

        [ScriptField]
        public XmlNamedNodeMap Attributes {
            get {
                return null;
            }
        }

        [ScriptField]
        public string BaseName {
            get {
                return null;
            }
        }

        [ScriptField]
        public XmlNodeList ChildNodes {
            get {
                return null;
            }
        }

        [ScriptField]
        public XmlNode FirstChild {
            get {
                return null;
            }
        }

        [ScriptField]
        public XmlNode LastChild {
            get {
                return null;
            }
        }

        [ScriptField]
        public XmlNode NextSibling {
            get {
                return null;
            }
        }

        [ScriptField]
        [ScriptName("nodeName")]
        public virtual string Name {
            get {
                return null;
            }
        }

        [ScriptField]
        public XmlNodeType NodeType {
            get {
                return 0;
            }
        }

        [ScriptField]
        [ScriptName("nodeValue")]
        public virtual string Value {
            get {
                return null;
            }
            set {
            }
        }

        [ScriptField]
        public XmlDocument OwnerDocument {
            get {
                return null;
            }
        }

        [ScriptField]
        public XmlNode ParentNode {
            get {
                return null;
            }
        }

        [ScriptField]
        public string Prefix {
            get {
                return null;
            }
        }

        [ScriptField]
        public XmlNode PreviousSibling {
            get {
                return null;
            }
        }

        [ScriptField]
        [ScriptName("text")]
        public string InnerText {
            get {
                return null;
            }
        }

        [ScriptField]
        [ScriptName("xml")]
        public string OuterXml {
            get {
                return null;
            }
        }

        public XmlNode AppendChild(XmlNode child) {
            return null;
        }

        public XmlNode CloneNode(bool deepClone) {
            return null;
        }

        public XmlNodeList GetElementsByTagName(string tagName) {
            return null;
        }

        public bool HasChildNodes() {
            return false;
        }

        public XmlNode InsertBefore(XmlNode child, XmlNode refChild) {
            return null;
        }

        public XmlNode RemoveChild(XmlNode child) {
            return null;
        }

        public XmlNode ReplaceChild(XmlNode child, XmlNode oldChild) {
            return null;
        }

        public XmlNodeList SelectNodes(string xpath) {
            return null;
        }

        public XmlNode SelectSingleNode(string xpath) {
            return null;
        }

        public string TransformNode(XmlDocument stylesheet) {
            return null;
        }
    }
}
<commit_msg>Add some missing xml dom APIs; remove some IE only ones.<commit_after>// XmlNode.cs
// Script#/Libraries/Web
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//

using System.Runtime.CompilerServices;

namespace System.Xml {

    [ScriptIgnoreNamespace]
    [ScriptImport]
    public class XmlNode {

        internal XmlNode() {
        }

        [ScriptField]
        public XmlNamedNodeMap Attributes {
            get {
                return null;
            }
        }

        [ScriptField]
        public string BaseName {
            get {
                return null;
            }
        }

        [ScriptField]
        public XmlNodeList ChildNodes {
            get {
                return null;
            }
        }

        [ScriptField]
        public XmlNode FirstChild {
            get {
                return null;
            }
        }

        [ScriptField]
        public XmlNode LastChild {
            get {
                return null;
            }
        }

        [ScriptField]
        public XmlNode NextSibling {
            get {
                return null;
            }
        }

        [ScriptField]
        [ScriptName("nodeName")]
        public virtual string Name {
            get {
                return null;
            }
        }

        [ScriptField]
        public XmlNodeType NodeType {
            get {
                return 0;
            }
        }

        [ScriptField]
        [ScriptName("nodeValue")]
        public virtual string Value {
            get {
                return null;
            }
            set {
            }
        }

        [ScriptField]
        public XmlDocument OwnerDocument {
            get {
                return null;
            }
        }

        [ScriptField]
        public XmlNode ParentNode {
            get {
                return null;
            }
        }

        [ScriptField]
        public string Prefix {
            get {
                return null;
            }
        }

        [ScriptField]
        public XmlNode PreviousSibling {
            get {
                return null;
            }
        }

        [ScriptField]
        [ScriptName("text")]
        public string InnerText {
            get {
                return null;
            }
        }

        [ScriptField]
        [ScriptName("xml")]
        public string OuterXml {
            get {
                return null;
            }
        }

        public XmlNode AppendChild(XmlNode child) {
            return null;
        }

        public XmlNode CloneNode(bool deepClone) {
            return null;
        }

        public XmlNodeList GetElementsByTagName(string tagName) {
            return null;
        }

        public bool HasAttributes() {
            return false;
        }

        public bool HasChildNodes() {
            return false;
        }

        public XmlNode InsertBefore(XmlNode child, XmlNode refChild) {
            return null;
        }

        public XmlNode QuerySelector(string selector) {
            return null;
        }

        public XmlNodeList QuerySelectorAll(string selector) {
            return null;
        }

        public XmlNode RemoveChild(XmlNode child) {
            return null;
        }

        public XmlNode ReplaceChild(XmlNode child, XmlNode oldChild) {
            return null;
        }
    }
}

{'fraction_non_alphanumeric': 0.06383601756954611, 'fraction_numerical': 0.0008784773060029283, 'mean_word_length': 1.0409321780699134, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 3}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4418625', 'n_tokens_mistral': 1743, 'n_tokens_neox': 1608, 'n_words': 417}