Exemplo n.º 1
1
	// Constructor.
	internal XmlElement(XmlNode parent, NameCache.NameInfo name)
			: base(parent)
			{
				this.name = name;
				this.attributes = null;
				this.isEmpty = true;
			}
Exemplo n.º 2
0
	// Initialize the document.
	private void Initialize()
			{
				baseURI = String.Empty;
				preserveWhitespace = false;
				placeholder = new XmlDocumentFragment(this);
				nameCache = new NameCache(implementation.nameTable);
			}
Exemplo n.º 3
0
	// Constructors.
	internal XmlAttribute(XmlNode parent, NameCache.NameInfo name)
			: base(parent)
			{
				this.name = name;
				this.isDefault = false;
			}
Exemplo n.º 4
0
        // Convert a special name into a full "NameInfo" object.
        private static NameCache.NameInfo ConvertName(XmlNode parent, String name)
        {
            NameCache cache = parent.FindOwnerQuick().nameCache;

            return(cache.Add(name, String.Empty, String.Empty));
        }