Example #1
0
        private XMLList Children()
        {
            XMLList list = new XMLList(lib);

            foreach (XML xml in m_Nodes)
            {
                list.AddRange(xml.Children());
            }
            return(list);
        }
Example #2
0
        internal XMLList GetPropertyList(XMLName xmlName)
        {
            XMLList list = new XMLList(lib);

            foreach (XML xml in m_Nodes)
            {
                list.AddRange(xml.GetPropertyList(xmlName));
            }
            return(list);
        }
Example #3
0
        /// <summary>
        /// XMLList.prototype.processingInstructions ( [ name ] )
        ///
        /// The processingInstructions method calls the processingInstructions
        /// method of each XML object in this XMLList object passing the optional
        /// parameter name (or "*" if it is omitted) and returns an XMList
        /// containing the results in order.
        ///
        /// See ECMA
        /// </summary>
        private XMLList ProcessingInstructions(XMLName name)
        {
            XMLList list = new XMLList(lib);

            foreach (XML xml in this)
            {
                list.AddRange(xml.ProcessingInstructions(name));
            }
            return(list);
        }
Example #4
0
        /// <summary>
        /// XMLList.prototype.child ( propertyName )
        ///
        /// The child method calls the child() method of each XML object in
        /// this XMLList object and returns an XMLList containing the results
        /// in order.
        ///
        /// See ECMA 13.5.4.4
        /// </summary>
        private XMLList Child(XMLName xmlName)
        {
            XMLList list = new XMLList(lib);

            foreach (XML xml in this)
            {
                list.AddRange(xml.Child(xmlName));
            }
            return(list);
        }
Example #5
0
        private XMLList Child(long index)
        {
            XMLList list = new XMLList(lib);

            foreach (XML xml in this)
            {
                list.AddRange(xml.Child(index));
            }
            return(list);
        }
Example #6
0
        private XMLList Attributes()
        {
            XMLList list = new XMLList(lib);

            foreach (XML xml in this)
            {
                list.AddRange(xml.Attributes());
            }
            return(list);
        }
Example #7
0
        private XMLList Descendants(XMLName xmlName)
        {
            XMLList list = new XMLList(lib);

            foreach (XML xml in this)
            {
                list.AddRange(xml.Descendants(xmlName));
            }
            return(list);
        }
Example #8
0
        protected internal override object GetXMLProperty(XMLName name)
        {
            if (isPrototype)
            {
                return(base.Get(name.localName, this));
            }

            XMLList list = new XMLList(lib);

            foreach (XML xml in m_Nodes)
            {
                list.AddRange((XMLList)xml.GetXMLProperty(name));
            }
            return(list);
        }
Example #9
0
 /// <summary>
 /// XMLList.prototype.processingInstructions ( [ name ] )
 /// 
 /// The processingInstructions method calls the processingInstructions
 /// method of each XML object in this XMLList object passing the optional
 /// parameter name (or "*" if it is omitted) and returns an XMList
 /// containing the results in order.
 /// 
 /// See ECMA 
 /// </summary>
 private XMLList ProcessingInstructions (XMLName name)
 {
     XMLList list = new XMLList (lib);
     foreach (XML xml in this) {
         list.AddRange (xml.ProcessingInstructions (name));
     }
     return list;
 }
Example #10
0
 private XMLList Child (long index)
 {
     XMLList list = new XMLList (lib);
     foreach (XML xml in this)
         list.AddRange (xml.Child (index));
     return list;
 }
Example #11
0
 internal XMLList GetPropertyList (XMLName xmlName)
 {
     XMLList list = new XMLList (lib);
     foreach (XML xml in m_Nodes) {
         list.AddRange (xml.GetPropertyList (xmlName));
     }
     return list;
 }
Example #12
0
 /// <summary>
 /// XMLList.prototype.child ( propertyName )
 /// 
 /// The child method calls the child() method of each XML object in
 /// this XMLList object and returns an XMLList containing the results
 /// in order.
 /// 
 /// See ECMA 13.5.4.4
 /// </summary>
 private XMLList Child (XMLName xmlName)
 {
     XMLList list = new XMLList (lib);
     foreach (XML xml in this)
         list.AddRange (xml.Child (xmlName));
     return list;
 }
Example #13
0
 private XMLList Descendants (XMLName xmlName)
 {
     XMLList list = new XMLList (lib);
     foreach (XML xml in this)
         list.AddRange (xml.Descendants (xmlName));
     return list;
 }
Example #14
0
        protected internal override object GetXMLProperty (XMLName name)
        {
            if (isPrototype) {
                return base.Get (name.localName, this);
            }

            XMLList list = new XMLList (lib);
            foreach (XML xml in m_Nodes) {
                list.AddRange ((XMLList)xml.GetXMLProperty (name));
            }
            return list;
        }
Example #15
0
 private XMLList Attributes ()
 {
     XMLList list = new XMLList (lib);
     foreach (XML xml in this)
         list.AddRange (xml.Attributes ());
     return list;
 }
Example #16
0
 private XMLList Children ()
 {
     XMLList list = new XMLList (lib);
     foreach (XML xml in m_Nodes) {
         list.AddRange (xml.Children ());
     }
     return list;
 }