113 lines
3.1 KiB
HTML
113 lines
3.1 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
|
|
<html>
|
|
<head>
|
|
<title>Class zXslt</title>
|
|
<style type="text/css">
|
|
body, p, td, li {
|
|
font-family: Verdana, Arial, Helvetica;
|
|
}
|
|
|
|
p, td, ul.arguments li {
|
|
font-size: 80%;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 150%;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 140%;
|
|
background-color: #efefef;
|
|
border-bottom: 1px solid #cccccc;
|
|
padding: 5px;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 90%;
|
|
line-height: 90%;
|
|
}
|
|
|
|
h4 {
|
|
font-size: 80%;
|
|
}
|
|
|
|
td.datatype {
|
|
padding: 5px 3px 5px 3px;
|
|
width: 5%;
|
|
text-align: right;
|
|
vertical-align: top;
|
|
}
|
|
|
|
td.method,
|
|
td.field {
|
|
padding: 5px 3px 5px 3px;
|
|
}
|
|
|
|
hr {
|
|
height: 1px;
|
|
color: #cccccc;
|
|
}
|
|
|
|
div.page-footer {
|
|
border-top: 1px solid #cccccc;
|
|
padding: 5px;
|
|
text-align: right;
|
|
font-size: 60%;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<h1>Class zXslt</h1>
|
|
<ul>
|
|
<li><code>Object</code></li>
|
|
<ul>
|
|
|
|
<li><code>zXslt</code></li>
|
|
</ul>
|
|
</ul>
|
|
<h2>Description</h2>
|
|
|
|
<p>The <code>zXslt</code> class is used to perform cross-browser XSLT transformations.</p>
|
|
<p>This class equalizes the differences between Internet Explorer and Mozilla
|
|
implementations (other browsers don't support JavaScript-based XSLT).</p>
|
|
<h4>Author:</h4>
|
|
<p>Nicholas C. Zakas, <a href="http://www.nczonline.net/" target="_blank">http://www.nczonline.net/</a></p>
|
|
<h4>Version:</h4>
|
|
<p>1.0</p>
|
|
<h4>Since:</h4>
|
|
<p>1.0</p>
|
|
|
|
<h2>Method Summary</h2>
|
|
|
|
<table border="0" width="100%" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td class="datatype"><code>static String</code></td>
|
|
<td class="method"><code><a href="#transformToText(XMLDocument,XMLDocument)">transformToText</a>(XMLDocument
|
|
oXml, XMLDocument oXslt)</code><br />
|
|
Transforms an XML document using an XSLT document.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h2>Method Detail</h2>
|
|
|
|
|
|
<h3><a name="transformToText(XMLDocument,XMLDocument)">transformToText</a></h3>
|
|
|
|
<p><code>public static String transformToText(XMLDocument oXml, XMLDocument oXslt)</code></p>
|
|
|
|
<p>Transforms an XML document using an XSLT document.</p>
|
|
<h4>Arguments:</h4>
|
|
<ul class="arguments">
|
|
<li><code>oXml</code> - The XML DOM document to transform.</li>
|
|
<li><code>oXslt</code> - An XML DOM document loaded with XSLT.</li>
|
|
</ul>
|
|
<h4>Returns:</h4>
|
|
<p>A string containing the transformation.</p>
|
|
|
|
<div class="page-footer">Class zXslt</div>
|
|
</body>
|
|
</html>
|