public override XmlAttribute CreateAttribute(string prefix, string localName, string namespaceURI)
        {
            XmlAttributeLineInfo elem;
            string nodeTypeString = null;
            string name           = null;

            TransformElement(ref nodeTypeString, ref prefix, ref localName, ref name, ref namespaceURI);
            string prev = currentAttributeName;

            try
            {
                currentAttributeName = localName;
                if (false)
                {
                    if (localName == "xmlns")
                    {
                        localName = "xxxxx";
                    }
                    prefix       = "";
                    namespaceURI = "";
                }
                elem = new XmlAttributeLineInfo(prefix, localName, namespaceURI, this);
            }
            finally
            {
                // currentAttributeName = prev;
            }
            setLineInfo(elem);
            return(elem);
        }
        public override XmlNode CloneNode(bool deep)
        {
            XmlAttributeLineInfo v = new XmlAttributeLineInfo(base.Prefix, base.LocalName, base.NamespaceURI,
                                                              (XmlDocumentLineInfo)OwnerDocument);

            v.CloneOf = CloneOf ?? this;
            v.SetLineInfo(LineNumber, LinePosition, Filename);
            v.Value    = Value;
            v.ReadOnly = ReadOnly;
            return(v);
        }
 public override XmlNode CloneNode(bool deep)
 {
     XmlAttributeLineInfo v = new XmlAttributeLineInfo(base.Prefix, base.LocalName, base.NamespaceURI,
                                                       (XmlDocumentLineInfo) OwnerDocument);
     v.CloneOf = CloneOf ?? this;
     v.SetLineInfo(LineNumber, LinePosition, Filename);
     v.Value = Value;
     v.ReadOnly = ReadOnly;
     return v;
 }