public virtual bool NodePushRangeScripts() { NodeList nl = m_parser.Parse(new TagNameFilter("SCRIPT")); if (nl.Count > 0) { m_nodestack.Push(m_node); m_nodestack.Push(m_nodeenum); m_nodestack.Push(m_nodelist); m_nodelist = nl; m_nodeenum = m_nodelist.Elements(); m_node = null; return(true); } else { return(false); } }
public virtual bool NodePushRangeByName(string elementname) { NodeList nl = m_parser.Parse(new HasAttributeFilter("name", elementname)); if (nl.Count > 0) { m_nodestack.Push(m_node); m_nodestack.Push(m_nodeenum); m_nodestack.Push(m_nodelist); m_nodelist = nl; m_nodeenum = m_nodelist.Elements(); m_node = null; return(true); } else { return(false); } }
public virtual bool NodePushRangeAll() { NodeList nl = m_parser.Parse(AndFilter.TrueFilter); if (nl.Count > 0) { m_nodestack.Push(m_node); m_nodestack.Push(m_nodeenum); m_nodestack.Push(m_nodelist); m_nodelist = nl; m_nodeenum = m_nodelist.Elements(); m_node = null; return(true); } else { return(false); } }
public virtual bool NodePushRangeChildren() { NodeList nl = m_node.Children; nl = nl.ExtractAllNodesThatMatch(AndFilter.TrueFilter, true); if (nl.Count > 0) { m_nodestack.Push(m_node); m_nodestack.Push(m_nodeenum); m_nodestack.Push(m_nodelist); m_nodelist = nl; m_nodeenum = m_nodelist.Elements(); m_node = null; return(true); } else { return(false); } }