Exemplo n.º 1
0
        public IXmlNode CreateAttribute(string name, string value)
        {
            XmlNodeWrapper attribute = new XmlNodeWrapper(_document.CreateAttribute(name));

            attribute.Value = value;

            return(attribute);
        }
Exemplo n.º 2
0
        public IXmlNode AppendChild(IXmlNode newChild)
        {
            XmlNodeWrapper xmlNodeWrapper = (XmlNodeWrapper)newChild;

            _node.AppendChild(xmlNodeWrapper._node);

            return(newChild);
        }
Exemplo n.º 3
0
        public IXmlNode CreateAttribute(string qualifiedName, string namespaceURI, string value)
        {
            XmlNodeWrapper attribute = new XmlNodeWrapper(_document.CreateAttribute(qualifiedName, namespaceURI));

            attribute.Value = value;

            return(attribute);
        }
Exemplo n.º 4
0
        public void SetAttributeNode(IXmlNode attribute)
        {
            XmlNodeWrapper xmlAttributeWrapper = (XmlNodeWrapper)attribute;

            _element.SetAttributeNode((XmlAttribute)xmlAttributeWrapper.WrappedNode);
        }