⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sarissa.html

📁 sarissa用于支持多浏览器的浏览及编程
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd"><!--NewPage--><HTML><HEAD><TITLE>Sarissa</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"></HEAD><SCRIPT>function asd(){parent.document.title="Sarissa";}</SCRIPT><BODY BGCOLOR="#eeeeee" onload="asd();"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=3 BGCOLOR="#b8cade" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#b8cade" CLASS="NavBarCell1">    <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#b8cade" CLASS="NavBarCell1">  <A HREF="overview-summary-sarissa.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">&nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#b8cade" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <!--TD BGCOLOR="#b8cade" CLASS="NavBarCell1"-->    <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!--&nbsp;</TD-->  <TD BGCOLOR="#b8cade" CLASS="NavBarCell1">    <A HREF="index-all.html"--><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#b8cade" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><B>sarissa</B></EM></TD</TR><TR><TD BGCOLOR="#eeeeee" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="Element.html"><B>PREV CLASS</B></A><!--    NEXT CLASS -->&nbsp;<A HREF="SarissaParseError.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="#eeeeee" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Sarissa.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT>  <!--  if(window==top) {    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT><A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2>Class Sarissa</H2><PRE>Object   |   +--<b>Sarissa</b></PRE><HR><DL>   <!-- Class definition -->   <DT>class    <B>Sarissa</B>   </DL>      <P>   <I>Defined in <a href='overview-summary-sarissa.js.html'>sarissa.js</a></I><BR/><BR/>   </P>      <HR><!-- ======== NESTED CLASS SUMMARY ======== --><!-- ======== END NESTED CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== -->   <A NAME="field_summary"><!-- --></A>      <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">         <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">            <TD COLSPAN=2><FONT SIZE="+2">               <B>Field Summary</B></FONT></TD>         </TR>   <!-- This is one instance field summary -->      <TR BGCOLOR="#eeeeee" CLASS="TableRowColor">   <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">   <CODE>&lt;static&gt; &nbsp;Object</CODE></FONT></TD>   <TD><CODE><B><A HREF="#!s!IS_ENABLED_SELECT_NODES">IS_ENABLED_SELECT_NODES</A></B></CODE>   <BR>   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>   </TR>      <TR BGCOLOR="#eeeeee" CLASS="TableRowColor">   <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">   <CODE>&lt;static&gt; &nbsp;Object</CODE></FONT></TD>   <TD><CODE><B><A HREF="#!s!IS_ENABLED_TRANSFORM_NODE">IS_ENABLED_TRANSFORM_NODE</A></B></CODE>   <BR>   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>   </TR>      <TR BGCOLOR="#eeeeee" CLASS="TableRowColor">   <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">   <CODE>&lt;static&gt; &nbsp;Object</CODE></FONT></TD>   <TD><CODE><B><A HREF="#!s!PARSED_EMPTY">PARSED_EMPTY</A></B></CODE>   <BR>   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>   </TR>      <TR BGCOLOR="#eeeeee" CLASS="TableRowColor">   <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">   <CODE>&lt;static&gt; &nbsp;Object</CODE></FONT></TD>   <TD><CODE><B><A HREF="#!s!PARSED_OK">PARSED_OK</A></B></CODE>   <BR>   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>   </TR>      <TR BGCOLOR="#eeeeee" CLASS="TableRowColor">   <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">   <CODE>&lt;static&gt; &nbsp;Object</CODE></FONT></TD>   <TD><CODE><B><A HREF="#!s!PARSED_UNKNOWN_ERROR">PARSED_UNKNOWN_ERROR</A></B></CODE>   <BR>   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>   </TR>      </TABLE>   &nbsp;      <!-- =========== END FIELD SUMMARY =========== --><!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="#eeeeee" CLASS="TableRowColor">   <TD>      <CODE>	 <B>	    <A HREF="Sarissa.html#Sarissa()">Sarissa</A> 	 </B>	 ()      </CODE>      <BR>      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;      <p>Sarissa is a utility class.      </TD></TR></TABLE><!-- ======== END CONSTRUCTOR SUMMARY ======== -->&nbsp;<!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR>   <TR BGCOLOR="#eeeeee" CLASS="TableRowColor">      <TD ALIGN="right" VALIGN="top" WIDTH="1%">	 <FONT SIZE="-1">	    <CODE>&lt;static&gt;&nbsp;void</CODE>	 </FONT>      </TD>      <TD>	 <CODE>	    <B>	       <A HREF="#!s!clearChildNodes">clearChildNodes</A></B>(oNode)	 </CODE>	 <BR>	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;	 <p>Deletes all child nodes of the given node</p>      </TD>   </TR>   <TR BGCOLOR="#eeeeee" CLASS="TableRowColor">      <TD ALIGN="right" VALIGN="top" WIDTH="1%">	 <FONT SIZE="-1">	    <CODE>&lt;static&gt;&nbsp;void</CODE>	 </FONT>      </TD>      <TD>	 <CODE>	    <B>	       <A HREF="#!s!copyChildNodes">copyChildNodes</A></B>(nodeFrom, nodeTo, bPreserveExisting)	 </CODE>	 <BR>	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;	 <p> Copies the childNodes of nodeFrom to nodeTo</p> <p> <b>Note:</b> The second object's original content is deleted before  the copy operation, unless you supply a true third parameter</p>      </TD>   </TR>   <TR BGCOLOR="#eeeeee" CLASS="TableRowColor">      <TD ALIGN="right" VALIGN="top" WIDTH="1%">	 <FONT SIZE="-1">	    <CODE>&lt;static&gt;&nbsp;Object</CODE>	 </FONT>      </TD>      <TD>	 <CODE>	    <B>	       <A HREF="#!s!escape">escape</A></B>(sXml)	 </CODE>	 <BR>	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;	 Escape the given string chacters that correspond to the five predefined XML entities      </TD>   </TR>   <TR BGCOLOR="#eeeeee" CLASS="TableRowColor">      <TD ALIGN="right" VALIGN="top" WIDTH="1%">	 <FONT SIZE="-1">	    <CODE>&lt;static&gt;&nbsp;Object</CODE>	 </FONT>      </TD>      <TD>	 <CODE>	    <B>	       <A HREF="#!s!getDomDocument">getDomDocument</A></B>(sUri, sName)	 </CODE>	 <BR>	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;	 <p>Factory method to obtain a new DOM Document object</p>      </TD>   </TR>   <TR BGCOLOR="#eeeeee" CLASS="TableRowColor">      <TD ALIGN="right" VALIGN="top" WIDTH="1%">	 <FONT SIZE="-1">	    <CODE>&lt;static&gt;&nbsp;Object</CODE>	 </FONT>      </TD>      <TD>	 <CODE>	    <B>	       <A HREF="#!s!getParseErrorText">getParseErrorText</A></B>(oDoc)	 </CODE>	 <BR>	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;	 <p>Returns a human readable description of the parsing error.      </TD>   </TR>   <TR BGCOLOR="#eeeeee" CLASS="TableRowColor">      <TD ALIGN="right" VALIGN="top" WIDTH="1%">	 <FONT SIZE="-1">	    <CODE>&lt;static&gt;&nbsp;Object</CODE>	 </FONT>      </TD>      <TD>	 <CODE>	    <B>	       <A HREF="#!s!getText">getText</A></B>(oNode, deep)	 </CODE>	 <BR>	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;	       </TD>   </TR>   <TR BGCOLOR="#eeeeee" CLASS="TableRowColor">      <TD ALIGN="right" VALIGN="top" WIDTH="1%">	 <FONT SIZE="-1">	    <CODE>&lt;static&gt;&nbsp;void</CODE>	 </FONT>      </TD>      <TD>	 <CODE>	    <B>	       <A HREF="#!s!moveChildNodes">moveChildNodes</A></B>(nodeFrom, nodeTo, bPreserveExisting)	 </CODE>	 <BR>	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;	 <p> Moves the childNodes of nodeFrom to nodeTo</p> <p> <b>Note:</b> The second object's original content is deleted before  the move operation, unless you supply a true third parameter</p>      </TD>   </TR>   <TR BGCOLOR="#eeeeee" CLASS="TableRowColor">      <TD ALIGN="right" VALIGN="top" WIDTH="1%">	 <FONT SIZE="-1">	    <CODE>&lt;static&gt;&nbsp;void</CODE>	 </FONT>      </TD>      <TD>	 <CODE>	    <B>	       <A HREF="#!s!setXpathNamespaces">setXpathNamespaces</A></B>(oDoc, sNsSet)	 </CODE>	 <BR>	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;	 <p>Programmatically control namespace URI/prefix mappings for XPath queries.</p> <p>This method comes especially handy when used to apply XPath queries on XML documents with a default namespace, as there is no other way of mapping that to a prefix.</p> <p>Using no namespace prefix in DOM Level 3 XPath queries, implies you are looking for elements in the null namespace.      </TD>   </TR>   <TR BGCOLOR="#eeeeee" CLASS="TableRowColor">      <TD ALIGN="right" VALIGN="top" WIDTH="1%">	 <FONT SIZE="-1">	    <CODE>&lt;static&gt;&nbsp;Object</CODE>	 </FONT>      </TD>      <TD>	 <CODE>	    <B>	       <A HREF="#!s!setXslParameter">setXslParameter</A></B>(oXslDoc, sParamQName, sParamValue)	 </CODE>	 <BR>	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;	 <p>Deprecated (use XSLTProcessor instead): Set xslt parameters.</p> <p><b>Note </b> that this method can only work for the main stylesheet and not any included/imported files.</p>      </TD>   </TR>   <TR BGCOLOR="#eeeeee" CLASS="TableRowColor">      <TD ALIGN="right" VALIGN="top" WIDTH="1%">	 <FONT SIZE="-1">	    <CODE>&lt;static&gt;&nbsp;Object</CODE>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -