📄 overview-summary-sarissa_ieemu_xslt.js.html
字号:
<!doctype html public "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"><html><head><title>sarissa Overview</title><link rel ="stylesheet" type="text/css" href="stylesheet.css" title="Style"><script>function asd() { parent.document.title="sarissa_ieemu_xslt.js Overview"; }</script></head><body bgcolor="#eeeeee" onload="asd();"><!-- ========== START OF NAVBAR ========== --><a name="navbar_top"><!-- --></a><table border="0" width="100%" cellpadding="1" cellspacing="0"><tr><td colspan=2 bgcolor="#b8cade" class="NavBarCell1"><a name="navbar_top_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> </td> <td bgcolor="#FFFFFF" class="NavBarCell1Rev"> <font class="NavBarFont1Rev"><b>File</b></font> </td> <td bgcolor="#FFFFFF" class="NavBarCell1"> <font class="NavBarFont1">Class</font> </td> <td bgcolor="#b8cade" class="NavBarCell1"> <a href="overview-tree.html"><font class="NavBarFont1"><b>Tree</b></font></a> </td> <td bgcolor="#b8cade" class="NavBarCell1"> <a href="index-all.html"--><font class="NavBarFont1"><b>Index</b></font></a> </td> <td bgcolor="#b8cade" class="NavBarCell1"> <a href="help-doc.html"><font class="NavBarFont1"><b>Help</b></font></a> </td> </tr></table></td><td bgcolor="#b8cade" align="right" valign="top"><em><b>sarissa</b></em></td></tr><tr><td bgcolor="#eeeeee" class="NavBarCell2"><font size="-2"> PREV NEXT</font></td><td bgcolor="#eeeeee" class="NavBarCell2"><font size="-2"> <a href="index.html" target="_top"><b>FRAMES</b></a> <a href="overview-summary.html" target="_top"><b>NO FRAMES</b></a> <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></table><!-- =========== END OF NAVBAR =========== --><hr><center> <h2>sarissa_ieemu_xslt.js</h2> </center> <h4>Summary</h4><p> No overview generated for 'sarissa_ieemu_xslt.js'<BR/><BR/> </p><hr><!-- ========== METHOD SUMMARY =========== --><!-- ========== END METHOD SUMMARY =========== --> <pre class="sourceview"><span class="comment">/** * ==================================================================== * About * ==================================================================== * Sarissa cross browser XML library - IE XSLT Emulation (deprecated) * <span class="attrib">@version</span> 0.9.7.6 * <span class="attrib">@author</span>: Manos Batsis, mailto: mbatsis at users full stop sourceforge full stop net * * This script emulates Internet Explorer's transformNode and transformNodeToObject * for Mozilla and provides a common way to set XSLT parameters * via Sarissa.setXslParameter. * * All functionality in this file is DEPRECATED, the XSLTProcessor * should be used instead. * * ==================================================================== * Licence * ==================================================================== * Sarissa is free software distributed under the GNU GPL version 2 (see <a href="gpl.txt">gpl.txt</a>) or higher, * GNU LGPL version 2.1 (see <a href="lgpl.txt">lgpl.txt</a>) or higher and Apache Software License 2.0 or higher * (see <a href="asl.txt">asl.txt</a>). This means you can choose one of the three and use that if you like. If * you make modifications under the ASL, i would appreciate it if you submitted those. * In case your copy of Sarissa does not include the license texts, you may find * them online in various formats at <a href="http://www.gnu.org">http://www.gnu.org</a> and * <a href="http://www.apache.org">http://www.apache.org</a>. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY * KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE * WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE * AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */</span><span class="reserved">if</span>(!Sarissa.IS_ENABLED_TRANSFORM_NODE && window.XSLTProcessor){ <span class="comment">/** * <p><b>Deprecated, will be removed in 0.9.6 (use XSLTProcessor instead): </b>Extends the Element class to emulate IE's transformNodeToObject (deprecated). * <b>Note </b>: The transformation result <i>must </i> be well formed, * otherwise an error will be thrown</p> * <span class="attrib">@uses</span> Mozilla's XSLTProcessor * <span class="attrib">@deprecated</span> use the XSLTProcessor instead * <span class="attrib">@argument</span> xslDoc The stylesheet to use (a DOM Document instance) * <span class="attrib">@argument</span> oResult The Document to store the transformation result */</span> XMLElement.<span class="reserved">prototype</span>.transformNodeToObject = <span class="reserved">function</span>(xslDoc, oResult){ var oDoc = document.implementation.createDocument(<span class="literal">""</span>, <span class="literal">""</span>, null); Sarissa.copyChildNodes(<span class="reserved">this</span>, oDoc); oDoc.transformNodeToObject(xslDoc, oResult); }; <span class="comment">/** * <p><b>Deprecated, will be removed in 0.9.6 (use XSLTProcessor instead): </b> Extends the Document class to emulate IE's transformNodeToObject (deprecated).</p> * <span class="attrib">@uses</span> Mozilla's XSLTProcessor * <span class="attrib">@deprecated</span> use the XSLTProcessor instead * <span class="attrib">@argument</span> xslDoc The stylesheet to use (a DOM Document instance) * <span class="attrib">@argument</span> oResult The Document to store the transformation result * <span class="attrib">@throws</span> Errors that try to be informative */</span> Document.<span class="reserved">prototype</span>.transformNodeToObject = <span class="reserved">function</span>(xslDoc, oResult){ var xsltProcessor = null; try{ xsltProcessor = new XSLTProcessor(); <span class="reserved">if</span>(xsltProcessor.reset){ <span class="comment">/* new nsIXSLTProcessor is available */</span> xsltProcessor.importStylesheet(xslDoc); var newFragment = xsltProcessor.transformToFragment(<span class="reserved">this</span>, oResult); Sarissa.copyChildNodes(newFragment, oResult); }<span class="reserved">else</span>{
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -