egroupware_official/phpgwapi/js/jsolait/doc/xml.xhtml

61 lines
3.0 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>.: jsolait :. | documentation | xml</title>
<link rel="stylesheet" type="text/css" href="./html.css" />
<meta name="author" content="Jan-Klaas Kollhof" />
<meta name="keywords" content="jsolait.xml" />
</head>
<body>
<a name="top" id="top"></a>
<div class="navigationBar"><a href="./index.xhtml">documentation</a> |
xml</div>
<div class="menu">
<ul></ul>
<div class="copyright">copyright © 2004, Jan-Klaas Kollhof</div>
</div>
<div class="content">
<h1>Module xml</h1>
Provides parseXML and an importNode implementation.
<div class="contentItem"><h2>public members:<a class="bttop" href="#top"></a></h2><div>
<h3>NoXMLParser()</h3><div class="indent">
Exception thrown if no parser could be instanciated.<br />
</div>
<h3>ParsingFailed()</h3><div class="indent">
Exception thrown if a document could not be parsed.<br />
<ul>
<li><b>ParsingFailed::xml</b> The xml source which could not be parsed.</li>
</ul>
</div>
<br />
<h3>parseXML(xml)</h3><div class="indent">
Parses an xml document.<br />
<b>xml</b> The xml text.<br />
<b>returns</b> A DOM of the xml document.<br />
</div>
<h3>importNode(importedNode,deep)</h3><div class="indent">
DOM2 implimentation of document.importNode().<br />
This will import into the current document. In SVG it will create SVG nodes in HTML it will create HTML nodes....<br />
This might become customizable in the future.<br />
<b>importedNode</b> The node to import.<br />
<b>deep</b> =true Import all childNodes recursively.<br />
<b>returns</b> The imported Node.<br />
<br />
</div>
<h3>node2XML(node)</h3><div class="indent">
Turns an XML document into a String.<br />
<b>node</b> The node to print.<br />
<b>returns</b> A string containing the text for the XML.<br />
<br />
</div>
</div></div>
<div class="contentItem"><h2>requirements<a class="bttop" href="#top"></a></h2><div>
Requires Mozilla's or IE's XML objects or parseXML in SVG(ASV).
</div></div>
</div>
</body>
</html>