Update of /cvsroot/stack/stack-1-0/other/domit/documentation In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15524/other/domit/documentation Added Files: Tag: development_xmlrqp DOMIT.html DOMIT_Attr.html DOMIT_CDATASection.html DOMIT_Cache.html DOMIT_CharacterData.html DOMIT_ChildNodes_Interface.html DOMIT_Comment.html DOMIT_DOMException.html DOMIT_DOMImplementation.html DOMIT_Doctor.html DOMIT_Document.html DOMIT_DocumentFragment.html DOMIT_DocumentType.html DOMIT_Element.html DOMIT_GetElementsByPath.html DOMIT_GetElementsByTagName.html DOMIT_NamedNodeMap.html DOMIT_NamedNodeMap_Attr.html DOMIT_Node.html DOMIT_NodeList.html DOMIT_Parser.html DOMIT_ProcessingInstruction.html DOMIT_TextNode.html DOMIT_Utilities.html DOMIT_tutorial_000.html DOMIT_tutorial_001.html DOMIT_tutorial_002.html DOMIT_tutorial_003.html DOMIT_tutorial_004.html DOMIT_tutorial_005.html DOMIT_tutorial_006.html DOMIT_tutorial_007.html DOMIT_tutorial_008.html DOMIT_tutorial_009.html DOMIT_tutorial_010.html DOMIT_tutorial_011.html DOMIT_tutorial_012.html DOMIT_tutorial_013.html DOMIT_tutorial_014.html DOMIT_tutorial_015.html DOMIT_tutorial_016.html DOMIT_tutorial_017.html DOMIT_tutorial_018.html DOMIT_tutorial_019.html DOMIT_tutorial_020.html DOMIT_tutorial_021.html DOMIT_tutorial_022.html DOMIT_tutorial_023.html DOMIT_tutorial_024.html DOMIT_tutorial_025.html DOMIT_tutorial_026.html DOMIT_tutorial_027.html DOMIT_tutorial_028.html DOMIT_tutorial_029.html DOMIT_tutorial_030.html DOMIT_tutorial_031.html DOMIT_tutorial_032.html DOMIT_tutorial_033.html DOMIT_tutorial_034.html DOMIT_tutorial_035.html DOMIT_tutorial_036.html DOMIT_tutorial_037.html DOMIT_tutorial_038.html UIDGenerator.html classy_builder.html classy_builder.swf docstyles.css functions.js license.txt menu.html menu_tutorial.html package_DOMIT.html package_SAXY.html Log Message: Added the DOMIT library for XML schema creation/parsing --- NEW FILE: DOMIT_Comment.html --- <html> <head></head> <link rel="stylesheet" href="docstyles.css" /> <body bgcolor="#FFE394"> <br /><br /> <center> <div class="classDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Class DOMIT_Comment</td> </tr> <tr> <td class="regular">A class representing the DOM Comment node (not present in DOMIT! Lite).</td> </tr> <tr> <td class="regular"><p><b>isPublic? </b>yes<br /><b>isAbstract? </b>no</p></td> </tr> <tr> <td class="regular"><p><b>Inheritance tree: </b></p><p><center><br /><a href="DOMIT_Node.html">DOMIT_Node</a><br /><span class="branch">|</span><br /><a href="DOMIT_CharacterData.html">DOMIT_CharacterData</a><br /><span class="branch">|</span><br /><a href="DOMIT_Comment.html">DOMIT_Comment</a></center></p></td> </tr> <tr> <td class="regular"><p><b>Known subclasses: </b></p><p>None</p></td> </tr> <tr> <td class="regular"><p><b>Source file: </b>xml_domit_parser.php</p></td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="constructorDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Constructor</td> </tr> <tr> <td class="regular">Initializes DOMIT_Comment variables and those of the superclass.</td> </tr> <tr> <td class="regular"><p><b>Signature: </b><span class="code">&DOMIT_Comment($text)</span></p></td> </tr> <tr> <td class="regular"><p><b>isPublic? </b>no</p></td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="publicConstantsDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Public Constants</td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="privateConstantsDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Private Constants</td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="publicFieldsDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Public Fields</td> </tr> <tr> <td class="subsectionHeader">nodeName</td> </tr> <tr> <td class="regular">The name of the current node. For DOMIT_Comment, nodeName is #comment.</td> </tr> <tr> <td class="regular"><p><b>Type: </b>String</p></td> </tr> <tr> <td class="subsectionHeader">nodeValue</td> </tr> <tr> <td class="regular">The value of the current node. For DOMIT_Comment, this represents the comment text contained in the node.</td> </tr> <tr> <td class="regular"><p><b>Type: </b>String</p></td> </tr> <tr> <td class="subsectionHeader">nodeType</td> </tr> <tr> <td class="regular">An integer representing the type of the current node. For DOMIT_Comment, nodeType is 8.</td> </tr> <tr> <td class="regular"><p><b>Type: </b>int</p></td> </tr> <tr> <td class="subsectionHeader">parentNode</td> </tr> <tr> <td class="regular">A reference to the node of which the current node is a child.</td> </tr> <tr> <td class="regular"><p><b>Type: </b><a href="DOMIT_Node.html">DOMIT_Node</a></p></td> </tr> <tr> <td class="subsectionHeader">previousSibling</td> </tr> <tr> <td class="regular">A reference to the node prior to the current node in the childNodes list. Null if the current node is the first child.</td> </tr> <tr> <td class="regular"><p><b>Type: </b><a href="DOMIT_Node.html">DOMIT_Node</a></p></td> </tr> <tr> <td class="subsectionHeader">nextSibling</td> </tr> <tr> <td class="regular">A reference to the node after the current node in the childNodes list. Null if the current node is the last child.</td> </tr> <tr> <td class="regular"><p><b>Type: </b><a href="DOMIT_Node.html">DOMIT_Node</a></p></td> </tr> <tr> <td class="subsectionHeader">ownerDocument</td> </tr> <tr> <td class="regular">A reference to the DOMIT_Document. Null if the node has not yet been added to the document.</td> </tr> <tr> <td class="regular"><p><b>Type: </b><a href="DOMIT_Document.html">DOMIT_Document</a></p></td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="privateFieldsDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Private Fields</td> </tr> <tr> <td class="subsectionHeader">uid</td> </tr> <tr> <td class="regular">A unique id assigned to each node. Note that this id is non-persistent.</td> </tr> <tr> <td class="regular"><p><b>Type: </b>int</p></td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="publicMethodsDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Public Methods</td> </tr> <tr> <td class="subsectionHeader">getText</td> </tr> <tr> <td class="regular">Returns the node value of the text node</td> </tr> <tr> <td class="regular"><p><b>Signature: </b><span class="code">getText()</span></p></td> </tr> <tr> <td class="subsectionHeader">setText</td> </tr> <tr> <td class="regular">Sets the nodeValue to the contents of $data.</td> </tr> <tr> <td class="regular"><p><b>Signature: </b><span class="code">setText($data)</span></p></td> </tr> <tr> <td class="regular"><p><b>Parameters:</b></p> <p><a href="string.html">string</a> <span class="parameter">data</span> - The text data of the node.</p> </td> </tr> <tr> <td class="regular"><p><b>Example: </b> </p><p>The data added as the nodeValue of the comment node.</p><p><span class="code">$someComment->setText('This is a comment');</span></p></td> </tr> <tr> <td class="subsectionHeader">cloneNode</td> </tr> <tr> <td class="regular">Returns a copy of the specified node, and if $deep is set to true, all nodes below it in the hierarchy.</td> </tr> <tr> <td class="regular"><p><b>Signature: </b><span class="code">&cloneNode($deep)</span></p></td> </tr> <tr> <td class="regular"><p><b>Parameters:</b></p> <p>boolean <span class="parameter">deep</span> - True if the children below the cloned node are also to be cloned.</p> </td> </tr> <tr> <td class="regular"><p><b>Returns:</b></p> <p><a href="DOMIT_Node.html">DOMIT_Node</a> - The cloned node, with a clone of all subnodes if $deep is set to true.</p> </td> </tr> <tr> <td class="regular"><p><b>Example: </b> </p><p>In the following example, a node named $styleTemplate is cloned, presumably so the user can create a new style based on the characteristics of the original node.</p><p><span class="code">$newStyle =& styleTemplate->cloneNode(false);</span></p></td> </tr> <tr> <td class="subsectionHeader">toString</td> </tr> <tr> <td class="regular">Generates an unformatted (single line, no whitespace) string representation of the comment.</td> </tr> <tr> <td class="regular"><p><b>Signature: </b><span class="code">toString($htmlSafe = false)</span></p></td> </tr> <tr> <td class="regular"><p><b>Parameters:</b></p> <p>boolean <span class="parameter">htmlSafe</span> - If true, returns an html formatted representation of the string.</p> </td> </tr> <tr> <td class="regular"><p><b>Returns:</b></p> <p>String - A string representation of the comment.</p> </td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="privateMethodsDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Private Methods</td> </tr> <tr> <td class="subsectionHeader">toArray</td> </tr> <tr> <td class="regular">Returns the text of the comment.</td> </tr> <tr> <td class="regular"><p><b>Signature: </b><span class="code">toArray()</span></p></td> </tr> <tr> <td class="regular"><p><b>Returns:</b></p> <p><a href="string.html">string</a> - The text of the comment.</p> </td> </tr> </table> </td> </tr> </table> </div> <br /> <p class="docblurb">Documentation generated by <b>ClassyDoc</b>, using the <b>DOMIT!</b> and <b>SAXY</b> parsers.<br /> Please visit <a href="http://www.engageinteractive.com" target="_child">Engage Interactive</a> to download free copies.</p> <br /> </center> </body> </html> --- NEW FILE: menu_tutorial.html --- <html> <head> <style type="text/css"> body { font-family: Arial, Verdana, sans; font-size: 8px; color: #000000; font-weight: normal; } td.sectionHeader { font-size: 12px; font-weight: bold; background-color: #E9DB6C; } td.subsectionHeader { font-size: 12px; font-weight: bold; background-color: #FFCC66; } td.regular { font-size: 12px; font-weight: normal; background-color: #FFFFFF; } td.params { font-size: 12px; font-weight: normal; background-color: #FFFFB5; } a:link { color: #CC9900; font-size: 12px; } a:visited { color: #CC9900; font-size: 12px; } a:hover { color: #000000; font-size: 12px; } a:active { color: #CC9900; font-size: 12px; } .code { font-family: Courier, monospace; color: #3366CC; } .parameter { font-weight: bold; color: #3366CC; } </style> <script language="javascript"> function displayClass(wName) { parent.classes.location = wName; } //displayClass </script> </head> <body bgcolor="#FFE394"> <br /><br /> <center> <div class="menu"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="80%" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Menu</td> </tr> <tr> <td class="subsectionHeader">Package DOMIT</td> </tr> <tr> <td class="regular"> <a href="#" onclick="displayClass('DOMIT_tutorial_000.html')">Overview</a></td> </tr> <tr> <td class="subsectionHeader">Class List</td> </tr> <tr> <td class="regular"> <p><a href="#" onclick="displayClass('DOMIT_CDATASection.html')">DOMIT_CDATASection</a></p> <p><a href="#" onclick="displayClass('DOMIT_Document.html')">DOMIT_Document</a></p> <p><a href="#" onclick="displayClass('DOMIT_Element.html')">DOMIT_Element</a></p> <p><a href="#" onclick="displayClass('DOMIT_Node.html')">DOMIT_Node</a></p> <p><a href="#" onclick="displayClass('DOMIT_Parser.html')">DOMIT_Parser</a></p> <p><a href="#" onclick="displayClass('DOMIT_TextNode.html')">DOMIT_TextNode</a></p> <p><a href="#" onclick="displayClass('UIDGenerator.html')">UIDGenerator</a></p> </td> </tr> <tr> <td class="subsectionHeader">DOMIT Tutorial</td> </tr> <tr> <td class="regular"> <a href="#" onclick="displayClass('DOMIT_tutorial_000.html')">Take the DOMIT! tutorial.</a></td> </tr> <tr> <td class="subsectionHeader">ClassyDoc Utilities</td> </tr> <tr> <td class="regular"> <a href="#" onclick="displayClass('classy_builder.html')">Build / Edit a Package</a></td> </tr> </table> </td> </tr> </table> </div> </center> </body> </html> --- NEW FILE: DOMIT_NamedNodeMap_Attr.html --- <html> <head></head> <link rel="stylesheet" href="docstyles.css" /> <body bgcolor="#FFE394"> <br /><br /> <center> <div class="classDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Class DOMIT_NamedNodeMap_Attr</td> </tr> <tr> <td class="regular">Provides a container for an unordered list of Attr nodes that can be accessed by their nodeNames.</td> </tr> <tr> <td class="regular"><p><b>isPublic? </b>yes<br /><b>isAbstract? </b>no</p></td> </tr> <tr> <td class="regular"><p><b>Inheritance tree: </b></p><p><center><br /><a href="DOMIT_NamedNodeMap.html">DOMIT_NamedNodeMap</a><br /><span class="branch">|</span><br /><a href="DOMIT_NamedNodeMap_Attr.html">DOMIT_NamedNodeMap_Attr</a></center></p></td> </tr> <tr> <td class="regular"><p><b>Known subclasses: </b></p><p>None</p></td> </tr> <tr> <td class="regular"><p><b>Source file: </b>xml_domit_nodemaps.php</p></td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="constructorDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Constructor</td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="publicConstantsDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Public Constants</td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="privateConstantsDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Private Constants</td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="publicFieldsDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Public Fields</td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="privateFieldsDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Private Fields</td> </tr> <tr> <td class="subsectionHeader">arNodeMap</td> </tr> <tr> <td class="regular">An associative array containing the list of DOMIT_Nodes.</td> </tr> <tr> <td class="regular"><p><b>Type: </b>array</p></td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="publicMethodsDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Public Methods</td> </tr> <tr> <td class="subsectionHeader">item</td> </tr> <tr> <td class="regular">Returns the node at the specified index (0-based).</td> </tr> <tr> <td class="regular"><p><b>Signature: </b><span class="code">&item($index)</span></p></td> </tr> <tr> <td class="regular"><p><b>Parameters:</b></p> <p>int <span class="parameter">index</span> - The index of the DOMIT_Node to be returned.</p> </td> </tr> <tr> <td class="regular"><p><b>Returns:</b></p> <p><a href="DOMIT_Node.html">DOMIT_Node</a> - The DOMIT_Node at the index specified, or null if nothing is found at that location.</p> </td> </tr> <tr> <td class="regular"><p><b>Example: </b> </p><p>The third node in the node list is returned:</p><p><span class="code">$thirdNode =& myNodeList->item(2);</span></p></td> </tr> <tr> <td class="subsectionHeader">getLength</td> </tr> <tr> <td class="regular">Returns the number of nodes in the node map.</td> </tr> <tr> <td class="regular"><p><b>Signature: </b><span class="code">getLength()</span></p></td> </tr> <tr> <td class="regular"><p><b>Returns:</b></p> <p>int - The number of nodes in the node map.</p> </td> </tr> <tr> <td class="regular"><p><b>Example: </b> </p><p>The number of nodes in the node map are returned:</p><p><span class="code">$numNodes = myNodeMap->getLength();</span></p></td> </tr> <tr> <td class="subsectionHeader">getNamedItem</td> </tr> <tr> <td class="regular">Gets the node with the specified nodeName from the list, or returns null.</td> </tr> <tr> <td class="regular"><p><b>Signature: </b><span class="code">&getNamedItem($name)</span></p></td> </tr> <tr> <td class="regular"><p><b>Parameters:</b></p> <p>String <span class="parameter">node</span> - The name of the node to be retrieved.</p> </td> </tr> <tr> <td class="regular"><p><b>Returns:</b></p> <p><a href="DOMIT_Node.html">DOMIT_Node</a> - The node to be returned.</p> </td> </tr> <tr> <td class="regular"><p><b>Example: </b> </p><p>A node named "param" is returned from $myNodeMap:</p><p><span class="code">$returnedNode =& myNodeMap->getNamedItem("param");</span></p></td> </tr> <tr> <td class="subsectionHeader">setNamedItem</td> </tr> <tr> <td class="regular">Adds the specified node to the node map, using its nodeName as key. Overwrites an existing named item.</td> </tr> <tr> <td class="regular"><p><b>Signature: </b><span class="code">&setNamedItem(&$arg)</span></p></td> </tr> <tr> <td class="regular"><p><b>Parameters:</b></p> <p><a href="DOMIT_Node.html">DOMIT_Node</a> <span class="parameter">arg</span> - The node to be added.</p> </td> </tr> <tr> <td class="regular"><p><b>Returns:</b></p> <p><a href="DOMIT_Node.html">DOMIT_Node</a> - Null, or the node that was overwritten if this is the case.</p> </td> </tr> <tr> <td class="regular"><p><b>Example: </b> </p><p>A node is added to $myNodeMap:</p><p><span class="code">myNodeMap->setNamedItem($aNode);</span></p></td> </tr> <tr> <td class="subsectionHeader">removeNamedItem</td> </tr> <tr> <td class="regular">Removes the node with the specified nodeName from the node map.</td> </tr> <tr> <td class="regular"><p><b>Signature: </b><span class="code">&removeNamedItem($name)</span></p></td> </tr> <tr> <td class="regular"><p><b>Parameters:</b></p> <p>String <span class="parameter">name</span> - The nodeName of the node to be removed.</p> </td> </tr> <tr> <td class="regular"><p><b>Returns:</b></p> <p><a href="DOMIT_Node.html">DOMIT_Node</a> - The node that was just removed, or null if it wasn't found.</p> </td> </tr> <tr> <td class="regular"><p><b>Example: </b> </p><p>A node named "param" is removed from $myNodeMap:</p><p><span class="code">$returnedNode =& myNodeMap->removeNamedItem("param");</span></p></td> </tr> <tr> <td class="subsectionHeader">toArray</td> </tr> <tr> <td class="regular">Returns an associative array representing the attributes list.</td> </tr> <tr> <td class="regular"><p><b>Signature: </b><span class="code">toArray()</span></p></td> </tr> <tr> <td class="regular"><p><b>Returns:</b></p> <p>array - An associative array representing the attributes list.</p> </td> </tr> <tr> <td class="regular"><p><b>Example: </b> </p><p>Prints out an associative array representing the attributes list.</p><p><span class="code">print_r($myElement->attributes->toArray());</span></p></td> </tr> <tr> <td class="subsectionHeader">forHTML</td> </tr> <tr> <td class="regular">Formats a string for presentation as HTML.</td> </tr> <tr> <td class="regular"><p><b>Signature: </b><span class="code">forHTML($str, $doPrint = false)</span></p></td> </tr> <tr> <td class="regular"><p><b>Parameters:</b></p> <p>String <span class="parameter">str</span> - The string to be formatted.</p> <p>boolean <span class="parameter">doPrint</span> - True if the string is to be sent directly to output.</p> </td> </tr> <tr> <td class="regular"><p><b>Returns:</b></p> <p>String - The HTML formatted string.</p> </td> </tr> <tr> <td class="subsectionHeader">toString</td> </tr> <tr> <td class="regular">Generates an unformatted (single line, no whitespace) string representation of the NamedNodeMap.</td> </tr> <tr> <td class="regular"><p><b>Signature: </b><span class="code">toString($htmlSafe = false, $subEntities=false)</span></p></td> </tr> <tr> <td class="regular"><p><b>Parameters:</b></p> <p>boolean <span class="parameter">htmlSafe</span> - True if HTML readable output is desired.</p> <p>boolean <span class="parameter">subEntities</span> - True if illegal xml characters in text nodes and attributes should be converted to entities.</p> </td> </tr> <tr> <td class="regular"><p><b>Returns:</b></p> <p>String - An unformatted (single line, no whitespace) string representation of the NamedNodeMap.</p> </td> </tr> <tr> <td class="regular"><p><b>Example: </b> </p><p>An unformatted string representation of the NamedNodeMap will be printed here:</p><p><span class="code">echo (htmlentities($myNodeMap->toString());</span></p></td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="privateMethodsDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Private Methods</td> </tr> <tr> <td class="subsectionHeader">createClone</td> </tr> <tr> <td class="regular">Used by cloneNode() to generate a new instance of a DOMIT_NamedNodeMap containing the same data as the original.</td> </tr> <tr> <td class="regular"><p><b>Signature: </b><span class="code">&createClone($deep)</span></p></td> </tr> <tr> <td class="regular"><p><b>Parameters:</b></p> <p>boolean <span class="parameter">deep</span> - True if all subnodes are to be cloned.</p> </td> </tr> <tr> <td class="regular"><p><b>Returns:</b></p> <p><a href="DOMIT_NamedNodeMap.html">DOMIT_NamedNodeMap</a> - A new DOMIT_NamedNodeMap</p> </td> </tr> </table> </td> </tr> </table> </div> <br /> <p class="docblurb">Documentation generated by <b>ClassyDoc</b>, using the <b>DOMIT!</b> and <b>SAXY</b> parsers.<br /> Please visit <a href="http://www.engageinteractive.com" target="_child">Engage Interactive</a> to download free copies.</p> <br /> </center> </body> </html> --- NEW FILE: DOMIT_TextNode.html --- <html> <head></head> <link rel="stylesheet" href="docstyles.css" /> <body bgcolor="#FFE394"> <br /><br /> <center> <div class="classDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Class DOMIT_TextNode</td> </tr> <tr> <td class="regular">A class representing the DOM TextNode.</td> </tr> <tr> <td class="regular"><p><b>isPublic? </b>yes<br /><b>isAbstract? </b>no</p></td> </tr> <tr> <td class="regular"><p><b>Inheritance tree: </b></p><p><center><br /><a href="DOMIT_Node.html">DOMIT_Node</a><br /><span class="branch">|</span><br /><a href="DOMIT_CharacterData.html">DOMIT_CharacterData</a><br /><span class="branch">|</span><br /><a href="DOMIT_TextNode.html">DOMIT_TextNode</a></center></p></td> </tr> <tr> <td class="regular"><p><b>Known subclasses: </b></p><p>None</p></td> </tr> <tr> <td class="regular"><p><b>Source file: </b>xml_domit_parser.php</p></td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="constructorDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Constructor</td> </tr> <tr> <td class="regular">Initializes DOMIT_TextNode variables and those of the superclass.</td> </tr> <tr> <td class="regular"><p><b>Signature: </b><span class="code">&DOMIT_TextNode($data)</span></p></td> </tr> <tr> <td class="regular"><p><b>isPublic? </b>no</p></td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="publicConstantsDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Public Constants</td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="privateConstantsDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Private Constants</td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="publicFieldsDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Public Fields</td> </tr> <tr> <td class="subsectionHeader">nodeName</td> </tr> <tr> <td class="regular">The name of the current node. For DOMIT_TextNode, nodeName is #text.</td> </tr> <tr> <td class="regular"><p><b>Type: </b>String</p></td> </tr> <tr> <td class="subsectionHeader">nodeValue</td> </tr> <tr> <td class="regular">The value of the current node. For DOMIT_TextNode, this represents the text contained in the node.</td> </tr> <tr> <td class="regular"><p><b>Type: </b>String</p></td> </tr> <tr> <td class="subsectionHeader">nodeType</td> </tr> <tr> <td class="regular">An integer representing the type of the current node. For DOMIT_TextNode, nodeType is 3.</td> </tr> <tr> <td class="regular"><p><b>Type: </b>int</p></td> </tr> <tr> <td class="subsectionHeader">parentNode</td> </tr> <tr> <td class="regular">A reference to the node of which the current node is a child.</td> </tr> <tr> <td class="regular"><p><b>Type: </b><a href="DOMIT_Node.html">DOMIT_Node</a></p></td> </tr> <tr> <td class="subsectionHeader">previousSibling</td> </tr> <tr> <td class="regular">A reference to the node prior to the current node in the childNodes list. Null if the current node is the first child.</td> </tr> <tr> <td class="regular"><p><b>Type: </b><a href="DOMIT_Node.html">DOMIT_Node</a></p></td> </tr> <tr> <td class="subsectionHeader">nextSibling</td> </tr> <tr> <td class="regular">A reference to the node after the current node in the childNodes list. Null if the current node is the last child.</td> </tr> <tr> <td class="regular"><p><b>Type: </b><a href="DOMIT_Node.html">DOMIT_Node</a></p></td> </tr> <tr> <td class="subsectionHeader">ownerDocument</td> </tr> <tr> <td class="regular">A reference to the DOMIT_Document. Null if the node has not yet been added to the document.</td> </tr> <tr> <td class="regular"><p><b>Type: </b><a href="DOMIT_Document.html">DOMIT_Document</a></p></td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="privateFieldsDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Private Fields</td> </tr> <tr> <td class="subsectionHeader">uid</td> </tr> <tr> <td class="regular">A unique id assigned to each node. Note that this id is non-persistent.</td> </tr> <tr> <td class="regular"><p><b>Type: </b>int</p></td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="publicMethodsDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Public Methods</td> </tr> <tr> <td class="subsectionHeader">splitText</td> </tr> <tr> <td class="regular">Splites the text node into two adjacent text nodes, based on the index specified.</td> </tr> <tr> <td class="regular"><p><b>Signature: </b><span class="code">splitText($offset)</span></p></td> </tr> <tr> <td class="regular"><p><b>Parameters:</b></p> <p>int <span class="parameter">offset</span> - The point at which to split the text.</p> </td> </tr> <tr> <td class="regular"><p><b>Returns:</b></p> <p><a href="DOMIT_TextNode.html">DOMIT_TextNode</a> - The new DOMIT_TextNode.</p> </td> </tr> <tr> <td class="regular"><p><b>Example: </b> </p><p>The text will be split into two text nodes at its 4th character:</p><p><span class="code">$myTextNode =& $aTextNode->splitText(4););</span></p></td> </tr> <tr> <td class="subsectionHeader">getText</td> </tr> <tr> <td class="regular">Returns the node value of the text node</td> </tr> <tr> <td class="regular"><p><b>Signature: </b><span class="code">getText()</span></p></td> </tr> <tr> <td class="subsectionHeader">setText</td> </tr> <tr> <td class="regular">Sets the nodeValue to the contents of $data.</td> </tr> <tr> <td class="regular"><p><b>Signature: </b><span class="code">setText($data)</span></p></td> </tr> <tr> <td class="regular"><p><b>Parameters:</b></p> <p><a href="string.html">string</a> <span class="parameter">data</span> - The text data of the node.</p> </td> </tr> <tr> <td class="regular"><p><b>Example: </b> </p><p>The data added as the nodeValue of the text node.</p><p><span class="code">$someTextNode->setText('This is some data');</span></p></td> </tr> <tr> <td class="subsectionHeader">cloneNode</td> </tr> <tr> <td class="regular">Returns a copy of the specified node, and if $deep is set to true, all nodes below it in the hierarchy.</td> </tr> <tr> <td class="regular"><p><b>Signature: </b><span class="code">&cloneNode($deep)</span></p></td> </tr> <tr> <td class="regular"><p><b>Parameters:</b></p> <p>boolean <span class="parameter">deep</span> - True if the children below the cloned node are also to be cloned.</p> </td> </tr> <tr> <td class="regular"><p><b>Returns:</b></p> <p><a href="DOMIT_Node.html">DOMIT_Node</a> - The cloned node, with a clone of all subnodes if $deep is set to true.</p> </td> </tr> <tr> <td class="regular"><p><b>Example: </b> </p><p>In the following example, a node named $styleTemplate is cloned, presumably so the user can create a new style based on the characteristics of the original node.</p><p><span class="code">$newStyle =& styleTemplate->cloneNode(false);</span></p></td> </tr> <tr> <td class="subsectionHeader">toString</td> </tr> <tr> <td class="regular">Generates an unformatted (single line, no whitespace) string representation of the text node and all children.</td> </tr> <tr> <td class="regular"><p><b>Signature: </b><span class="code">toString($htmlSafe = false, $subEntities = false)</span></p></td> </tr> <tr> <td class="regular"><p><b>Parameters:</b></p> <p>boolean <span class="parameter">htmlSafe</span> - If true, returns an html formatted representation of the string.</p> <p>boolean <span class="parameter">subEntities</span> - True if illegal xml characters should be converted to entities.</p> </td> </tr> <tr> <td class="regular"><p><b>Returns:</b></p> <p>String - An unformatted (single line, no whitespace) string representation of the text node and all children.</p> </td> </tr> <tr> <td class="regular"><p><b>Example: </b> </p><p>An unformatted string representation of the text node will be printed here:</p><p><span class="code">echo ($myTextNode->toString(true);</span></p></td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="privateMethodsDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Private Methods</td> </tr> <tr> <td class="subsectionHeader">toArray</td> </tr> <tr> <td class="regular">Returns an array representation of the text node (its nodeValue).</td> </tr> <tr> <td class="regular"><p><b>Signature: </b><span class="code">toArray()</span></p></td> </tr> <tr> <td class="regular"><p><b>Returns:</b></p> <p><a href="string.html">string</a> - nodeValue</p> </td> </tr> </table> </td> </tr> </table> </div> <br /> <p class="docblurb">Documentation generated by <b>ClassyDoc</b>, using the <b>DOMIT!</b> and <b>SAXY</b> parsers.<br /> Please visit <a href="http://www.engageinteractive.com" target="_child">Engage Interactive</a> to download free copies.</p> <br /> </center> </body> </html> --- NEW FILE: classy_builder.swf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: DOMIT_tutorial_031.html --- <html> <head><script type="text/javascript" src="functions.js"></script></head> <link rel="stylesheet" href="docstyles.css" /> <body bgcolor="#FFE394"> <br /><br /> <center> <div class="tutorial"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader"><script type="text/javascript"> document.write(getTutorialTitle()); </script></td> </tr> <tr> <td class="subsectionHeader"><center> <script type="text/javascript"> document.write(generateMenu(31)); </script> </center></td> </tr> <tr> <td class="subsectionHeader">Namespaces and Attributes</td> </tr> <tr> <td class="regular"> <p>With a namespace aware parser, attributes are accessed and manipulated with a special set of namespace sensitive methods.</p> <p><b><u>getAttributeNS</u></b><p> <p>The <span class="code">getAttributeNS</span> method allows you to get the value of an attribute, by passing in the namespace URI and local name. If the attribute does not exist, an empty string is returned.</p> <p><pre class="code"> $myElement->getAttributeNS('http://www.engageinteractive.com/tests', 'score'); </pre></p> <p><b><u>setAttributeNS</u></b><p> <p>The <span class="code">setAttributeNS</span> method allows you to set the value of an existing attribute. A new attribute is created if one does not already exist. You must pass in the namespace URI and a qualified name along with the attribute value.</p> <p><pre class="code"> $myElement->setAttributeNS('http://www.engageinteractive.com/tests', 'ei:score', '95'); </pre></p> <p><b><u>removeAttributeNS</u></b><p> <p>The <span class="code">removeAttributeNS</span> method will remove the specified attribute if it exists. You must pass in the namespace URI and local name.</p> <p><pre class="code"> $myElement->removeAttributeNS('http://www.engageinteractive.com/tests', 'score'); </pre></p> <p><b><u>hasAttributeNS</u></b><p> <p>The <span class="code">hasAttributeNS</span> method returns true if the specified attribute exists. You must pass in the namespace URI and local name.</p> <p><pre class="code"> $doesExist = $myElement->hasAttributeNS('http://www.engageinteractive.com/tests', 'score'); </pre></p> <p><b><u>getAttributeNodeNS</u></b><p> <p>The <span class="code">getAttributeNodeNS</span> method will return a reference to the specified attribute node, or null if the node does not exist. You must pass in the namespace URI and local name. </p> <p><pre class="code"> $myAttribute =& $myElement->getAttributeNodeNS('http://www.engageinteractive.com/tests', 'score'); </pre></p> <p><b><u>setAttributeNodeNS</u></b><p> <p>The <span class="code">setAttributeNodeNS</span> method will append an attribute node to the attribute list of an element.</p> <p><pre class="code"> $myAttribute =& $xmldoc->createAttributeNS('http://www.engageinteractive.com/tests', 'ei:score'); $myElement->setAttributeNode($myAttribute); </pre></p> </td></tr> <tr> <td class="subsectionHeader"><center> <script type="text/javascript"> document.write(generateMenu(31)); </script> </center></td> </tr> </table> </td> </tr> </table> </div> <br /> <p class="docblurb">Documentation generated by <b>ClassyDoc</b>, using the <b>DOMIT!</b> and <b>SAXY</b> parsers.<br /> Please visit <a href="http://www.engageinteractive.com/opensource.html" target="_child">Engage Interactive</a> to download free copies.</p> <br /> </center> </body> </html> --- NEW FILE: DOMIT_tutorial_003.html --- <html> <head><script type="text/javascript" src="functions.js"></script></head> <link rel="stylesheet" href="docstyles.css" /> <body bgcolor="#FFE394"> <br /><br /> <center> <div class="tutorial"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader"><script type="text/javascript"> document.write(getTutorialTitle()); </script></td> </tr> <tr> <td class="subsectionHeader"><center> <script type="text/javascript"> document.write(generateMenu(3)); </script> </center></td> </tr> <tr> <td class="subsectionHeader">The DOM Document</td> </tr> <tr> <td class="regular"><p>A DOM structure consists of a tree-like collection of objects called "Nodes" and a set of methods that one can use to traverse this hierarchy. The top-level object is referred to as a "Document". </p> <p>A DOM Document can be created from an XML string, like the following description of a person's cd music collection:</p> <p> <pre class="code"> <cdlibrary> <cd id="0001"> <name>Robbie Fulks</name> <title>Couples in Trouble</title> </cd> <cd id="0002"> <name>Richard Thompson</name> <title>Mock Tudor</title> </cd> <cd id="0003"> <name>Keller Williams</name> <title>Laugh</title> </cd> </cdlibrary> </pre></p> </td> </tr> <tr> <td class="subsectionHeader"><center> <script type="text/javascript"> document.write(generateMenu(3)); </script> </center></td> </tr> </table> </td> </tr> </table> </div> <br /> <p class="docblurb">Documentation generated by <b>ClassyDoc</b>, using the <b>DOMIT!</b> and <b>SAXY</b> parsers.<br /> Please visit <a href="http://www.engageinteractive.com/opensource.html" target="_child">Engage Interactive</a> to download free copies.</p> <br /> </center> </body> </html> --- NEW FILE: DOMIT_tutorial_038.html --- <html> <head><script type="text/javascript" src="functions.js"></script></head> <link rel="stylesheet" href="docstyles.css" /> <body bgcolor="#FFE394"> <br /><br /> <center> <div class="tutorial"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader"><script type="text/javascript"> document.write(getTutorialTitle()); </script></td> </tr> <tr> <td class="subsectionHeader"><center> <script type="text/javascript"> document.write(generateMenu(38)); </script> </center></td> </tr> <tr> <td class="subsectionHeader">Contact</td> </tr> <tr> <td class="regular"><br /><br /><br /><p>Please visit the <a href="http://www.engageinteractive.com/domit/" target="_child"><b>DOMIT!</b> homepage</a>.<br /><br /><br /> </p> </td> </tr> <tr> <td class="subsectionHeader"><center> <script type="text/javascript"> document.write(generateMenu(38)); </script> </center></td> </tr> </table> </td> </tr> </table> </div> <br /> <p class="docblurb">Documentation generated by <b>ClassyDoc</b>, using the <b>DOMIT!</b> and <b>SAXY</b> parsers.<br /> Please visit <a href="http://www.engageinteractive.com/opensource.html" target="_child">Engage Interactive</a> to download free copies.</p> <br /> </center> </body> </html> --- NEW FILE: DOMIT_GetElementsByTagName.html --- <html> <head></head> <link rel="stylesheet" href="docstyles.css" /> <body bgcolor="#FFE394"> <br /><br /> <center> <div class="classDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Class DOMIT_GetElementsByTagName</td> </tr> <tr> <td class="regular">For the generation of simple, unique ids</td> </tr> <tr> <td class="regular"><p><b>isPublic? </b>yes<br /><b>isAbstract? </b>no</p></td> </tr> <tr> <td class="regular"><p><b>Inheritance tree: </b></p><p><center><a href="DOMIT_GetElementsByTagName.html">DOMIT_GetElementsByTagName</a> (top level class)</center></p></td> </tr> <tr> <td class="regular"><p><b>Known subclasses: </b></p><p>None</p></td> </tr> <tr> <td class="regular"><p><b>Source file: </b>xml_domit_getelementsbytagname.php</p></td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="constructorDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Constructor</td> </tr> <tr> <td class="regular">Instantiates a new UIDGenerator object. Probably best to use this statically.</td> </tr> <tr> <td class="regular"><p><b>Signature: </b><span class="code">UIDGenerator()</span></p></td> </tr> <tr> <td class="regular"><p><b>isPublic? </b>yes</p></td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="publicConstantsDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Public Constants</td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="privateConstantsDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Private Constants</td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="publicFieldsDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Public Fields</td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="privateFieldsDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Private Fields</td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="publicMethodsDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Public Methods</td> </tr> <tr> <td class="subsectionHeader">generateUID</td> </tr> <tr> <td class="regular">Returns a unique id using the uniqid PHP function.</td> </tr> <tr> <td class="regular"><p><b>Signature: </b><span class="code">generateUID()</span></p></td> </tr> <tr> <td class="regular"><p><b>Returns:</b></p> <p>String - A unique 17 character alphanumeric id, prefixed with the word "node". Its value is based on the current time in microseconds.</p> </td> </tr> <tr> <td class="regular"><p><b>Example: </b> </p><p>A unique id can be generated by calling generateUID() with UIDGenerator as a static class:</p><p><span class="code">$newNodeID = UIDGenerator::generateUID();</span></p></td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="privateMethodsDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Private Methods</td> </tr> </table> </td> </tr> </table> </div> <br /> <p class="docblurb">Documentation generated by <b>ClassyDoc</b>, using the <b>DOMIT!</b> and <b>SAXY</b> parsers.<br /> Please visit <a href="http://www.engageinteractive.com" target="_child">Engage Interactive</a> to download free copies.</p> <br /> </center> </body> </html> --- NEW FILE: DOMIT_Element.html --- <html> <head></head> <link rel="stylesheet" href="docstyles.css" /> <body bgcolor="#FFE394"> <br /><br /> <center> <div class="classDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Class DOMIT_Element</td> </tr> <tr> <td class="regular">A class representing the DOM Element.</td> </tr> <tr> <td class="regular"><p><b>isPublic? </b>yes<br /><b>isAbstract? </b>no</p></td> </tr> <tr> <td class="regular"><p><b>Inheritance tree: </b></p><p><center><br /><a href="DOMIT_Node.html">DOMIT_Node</a><br /><span class="branch">|</span><br /><a href="DOMIT_ChildNodes_Interface.html">DOMIT_ChildNodes_Interface</a><br /><span class="branch">|</span><br /><a href="DOMIT_Element.html">DOMIT_Element</a></center></p></td> </tr> <tr> <td class="regular"><p><b>Known subclasses: </b></p><p>None</p></td> </tr> <tr> <td class="regular"><p><b>Source file: </b>xml_domit_parser.php</p></td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="constructorDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Constructor</td> </tr> <tr> <td class="regular">Initializes DOMIT_Element variables and those of the superclass.</td> </tr> <tr> <td class="regular"><p><b>Signature: </b><span class="code">&DOMIT_Element($tagName)</span></p></td> </tr> <tr> <td class="regular"><p><b>isPublic? </b>no</p></td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="publicConstantsDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Public Constants</td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="privateConstantsDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Private Constants</td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="publicFieldsDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Public Fields</td> </tr> <tr> <td class="subsectionHeader">nodeName</td> </tr> <tr> <td class="regular">The name of the current node. For DOMIT_Element,the name of the tag.</td> </tr> <tr> <td class="regular"><p><b>Type: </b>String</p></td> </tr> <tr> <td class="subsectionHeader">nodeValue</td> </tr> <tr> <td class="regular">The value of the current node. Null for DOMIT_Element.</td> </tr> <tr> <td class="regular"><p><b>Type: </b>String</p></td> </tr> <tr> <td class="subsectionHeader">nodeType</td> </tr> <tr> <td class="regular">An integer representing the type of the current node. For DOMIT_Element, nodeType is 1.</td> </tr> <tr> <td class="regular"><p><b>Type: </b>int</p></td> </tr> <tr> <td class="subsectionHeader">parentNode</td> </tr> <tr> <td class="regular">A reference to the node of which the current node is a child.</td> </tr> <tr> <td class="regular"><p><b>Type: </b><a href="DOMIT_Node.html">DOMIT_Node</a></p></td> </tr> <tr> <td class="subsectionHeader">childNodes</td> </tr> <tr> <td class="regular">An array of node references of which the current node is parent. Null if the current node has no children.</td> </tr> <tr> <td class="regular"><p><b>Type: </b>array</p></td> </tr> <tr> <td class="subsectionHeader">firstChild</td> </tr> <tr> <td class="regular">A reference to the first node in the childNodes list. Null if the current node has no children.</td> </tr> <tr> <td class="regular"><p><b>Type: </b><a href="DOMIT_Node.html">DOMIT_Node</a></p></td> </tr> <tr> <td class="subsectionHeader">lastChild</td> </tr> <tr> <td class="regular">A reference to the last node in the childNodes list. Null if the current node has no children.</td> </tr> <tr> <td class="regular"><p><b>Type: </b><a href="DOMIT_Node.html">DOMIT_Node</a></p></td> </tr> <tr> <td class="subsectionHeader">previousSibling</td> </tr> <tr> <td class="regular">A reference to the node prior to the current node in the childNodes list. Null if the current node is the first child.</td> </tr> <tr> <td class="regular"><p><b>Type: </b><a href="DOMIT_Node.html">DOMIT_Node</a></p></td> </tr> <tr> <td class="subsectionHeader">nextSibling</td> </tr> <tr> <td class="regular">A reference to the node after the current node in the childNodes list. Null if the current node is the last child.</td> </tr> <tr> <td class="regular"><p><b>Type: </b><a href="DOMIT_Node.html">DOMIT_Node</a></p></td> </tr> <tr> <td class="subsectionHeader">attributes</td> </tr> <tr> <td class="regular">A list of attributes for the current element (in DOMIT! Lite this is an associative array).</td> </tr> <tr> <td class="regular"><p><b>Type: </b><a href="DOMIT_NamedNodeMap_Attr.html">DOMIT_NamedNodeMap_Attr</a></p></td> </tr> <tr> <td class="subsectionHeader">ownerDocument</td> </tr> <tr> <td class="regular">A reference to the DOMIT_Document. Null if the node has not yet been added to the document.</td> </tr> <tr> <td class="regular"><p><b>Type: </b><a href="DOMIT_Document.html">DOMIT_Document</a></p></td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="privateFieldsDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Private Fields</td> </tr> <tr> <td class="subsectionHeader">uid</td> </tr> <tr> <td class="regular">A unique id assigned to each node. Note that this id is non-persistent.</td> </tr> <tr> <td class="regular"><p><b>Type: </b>int</p></td> </tr> </table> </td> </tr> </table> </div> <br /><br /><br /> <div class="publicMethodsDescription"> <table class="outer" border="0" cellspacing="0" cellpadding="0" width="440" bgcolor="#000000"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <tr> <td class="sectionHeader">Public Methods</td> </tr> <tr> <td class="subsectionHeader">appendChild</td> </tr> <tr> <td class="regular">Adds the specified node as a child of the current DOMIT_Element.</td> </tr> <tr> <td class="regular"><p><b>Signature: </b><span class="code">appendChild(&$child)</span></p></td> </tr> <tr> <td class="regular"><p><b>Parameters:</b></p> <p><a href="DOMIT_Element.html">DOMIT_Element</a> <span class="parameter">child</span> - The node that is to be appended.</p> </td> </tr> <tr> <td class="regular"><p><b>Returns:</b></p> <p><a href="DOMIT_Element.html">DOMIT_Element</a> - The appended DOMIT_Elementnode.</p> </td> </tr> <tr> <td class="regular"><p><b>Example: </b> </p><p>A child node is appended to the $myElement node:</p><p><span class="code">$myElement->appendChild($elementNode);</span></p></td> </tr> <tr> <td class="subsectionHeader">insertBefore</td> </tr> <tr> <td class="regular">Inserts node $newChild before $refChild in the childNodes of $this. If $refChild does not exist, $newChild is appended to the node chain.</td> </tr> <tr> <td class="regular"><p><b>Signature: </b><span class="code">&insertBefore(&$newChild, &$refChild)</span></p></td> </tr> <tr> <td class="regular"><p><b>Parameters:</b></p> <p><a href="DOMIT_Node.html">DOMIT_Node</a> <span class="parameter">newChild</span> - The new node to be added</p> <p><a href="DOMIT_Node.html">DOMIT_Node</a> <span class="parameter">refChild</span> - The existing node before which the new node will be added</p> </td> </tr> <tr> <td class="regular"><p><b>Returns:</b></p> <p><a href="DOMIT_Node.html">DOMIT_Node</a> - A reference to the new node being added.</p> </td> </tr> <tr> <td class="regular"><p><b>Example: </b> </p><p>The following example inserts a "Book" node named $goodNovel before another named $okNovel in a childNodes list named $bestSellers.</p><p><span class="code">$bestSellers->insertBefore($goodNovel, $okNovel);</span></p></td> </tr> <tr> <td class="subsectionHeader">replaceChild</td> </tr> <tr> <td class="regular">Replaces node $oldChild with $newChild.</td> </tr> <tr> <td class="regular"><p><b>Signature: </b><span class="code">replaceChild(&$newChild, &$oldChild)</span></p></td> </tr> <tr> <td class="regular"><p><b>Parameters:</b></p> <p><a href="DOMIT_Node.html">DOMIT_Node</a> <span class="parameter">newChild</span> - The new node that is to replace the old node.</p> <p><a href="DOMIT_Node.html">DOMIT_Node</a> <span class="parameter">oldChild</span> - The old node that is to be replaced by the new node.</p> </td> </tr> <tr> <td class="regul... [truncated message content] |