One Hat Cyber Team
Your IP :
216.73.216.216
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
doc
/
Macaulay2
/
XML
/
html
/
Edit File:
index.html
<!DOCTYPE html> <html lang="en"> <head> <title>XML -- an XML parser</title> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <link type="text/css" rel="stylesheet" href="../../../../Macaulay2/Style/doc.css"> <link rel="stylesheet" href="../../../../Macaulay2/Style/katex/katex.min.css"> <script defer="defer" src="../../../../Macaulay2/Style/katex/katex.min.js"></script> <script defer="defer" src="../../../../Macaulay2/Style/katex/contrib/auto-render.min.js"></script> <script> var macros = { "\\break": "\\\\", "\\ZZ": "\\mathbb{Z}", "\\NN": "\\mathbb{N}", "\\QQ": "\\mathbb{Q}", "\\RR": "\\mathbb{R}", "\\CC": "\\mathbb{C}", "\\PP": "\\mathbb{P}" }, delimiters = [ { left: "$$", right: "$$", display: true}, { left: "\\[", right: "\\]", display: true}, { left: "$", right: "$", display: false}, { left: "\\(", right: "\\)", display: false} ], ignoredTags = [ "kbd", "var", "samp", "script", "noscript", "style", "textarea", "pre", "code", "option" ]; document.addEventListener("DOMContentLoaded", function() { renderMathInElement(document.body, { delimiters: delimiters, macros: macros, ignoredTags: ignoredTags, trust: true }); }); </script> <style>.katex { font-size: 1em; }</style> <script defer="defer" src="../../../../Macaulay2/Style/katex/contrib/copy-tex.min.js"></script> <script defer="defer" src="../../../../Macaulay2/Style/katex/contrib/render-a11y-string.min.js"></script> <script src="../../../../Macaulay2/Style/prism.js"></script> <script>var current_version = '1.25.06';</script> <script src="../../../../Macaulay2/Style/version-select.js"></script> <link type="image/x-icon" rel="icon" href="../../../../Macaulay2/Style/icon.gif"> </head> <body> <div id="buttons"> <div> <a href="https://macaulay2.com/">Macaulay2</a> <span id="version-select-container"></span> » <a title="Macaulay2 documentation" href="../../Macaulay2Doc/html/index.html">Documentation </a> <br><a href="../../Macaulay2Doc/html/_packages_spprovided_spwith_sp__Macaulay2.html">Packages</a> » <span><a title="an XML parser" href="index.html">XML</a> :: <a title="an XML parser" href="index.html">XML</a></span> </div> <div class="right"> <form method="get" action="https://www.google.com/search"> <input placeholder="Search" type="text" name="q" value=""> <input type="hidden" name="q" value="site:macaulay2.com/doc"> </form> <a href="_children.html">next</a> | previous | <a href="_children.html">forward</a> | backward | up | <a href="master.html">index</a> | <a href="toc.html">toc</a> </div> </div> <hr> <div> <h1>XML -- an XML parser</h1> <div> <h2>Description</h2> <div> <p></p> <p>This experimental and tentative package provides an interface to the library <em>libxml2</em> (see <a href="http://www.xmlsoft.org/">http://www.xmlsoft.org/</a>), which is a parser for XML files (see <a href="http://en.wikipedia.org/wiki/XML">http://en.wikipedia.org/wiki/XML</a>). The package offers two ways of representing the result: as an object of class <a title="the class of all XML nodes created by libxml2" href="___Libxml__Node.html">LibxmlNode</a>, which is a pointer to the internal structure created and accessed by the library; or as a hashtable of class <a title="the class of all XML trees created by the library libxml2" href="___X__M__Lnode.html">XMLnode</a> (which currently represents only elements, attributes, and nodes).</p> <p>This package was written to support the packages <a title="OpenMath support" href="../../OpenMath/html/index.html">OpenMath</a> and <a title="SCSCP (Symbolic Computation Software Composability Protocol) support" href="../../SCSCP/html/index.html">SCSCP</a>.</p> </div> </div> <div> <div> <div> <h2>Author</h2> <ul> <li><a href="http://www.math.uiuc.edu/~dan/">Daniel R. Grayson</a><span> <<a href="mailto:dan%40math.uiuc.edu">dan@math.uiuc.edu</a>></span></li> </ul> </div> <div> <h2>Version</h2> <p>This documentation describes version <b>1.1</b> of XML, released <b>September 1, 2010</b>.</p> </div> <div> <h2>Citation</h2> <p>If you have used this package in your research, please cite it as follows:</p> <table class="examples"> <tr> <td> <pre><code class="language-bib">@misc{XMLSource, title = {{XML: an XML parser. Version~1.1}}, author = {Daniel R. Grayson}, howpublished = {A \emph{Macaulay2} package available at \url{https://github.com/Macaulay2/M2/tree/stable/M2/Macaulay2/packages}} } </code></pre> </td> </tr> </table> </div> <div> <h2>Exports</h2> <div class="exports"> <ul> <li>Types <ul> <li><span><a title="the class of all XML attributes created by the library libxml" href="___Libxml__Attribute.html">LibxmlAttribute</a> -- the class of all XML attributes created by the library libxml</span></li> <li><span><a title="the class of all XML nodes created by libxml2" href="___Libxml__Node.html">LibxmlNode</a> -- the class of all XML nodes created by libxml2</span></li> <li><span><a title="the class of all XML trees created by the library libxml2" href="___X__M__Lnode.html">XMLnode</a> -- the class of all XML trees created by the library libxml2</span></li> </ul> </li> <li>Functions and commands <ul> <li><span><kbd>getAttributes</kbd> -- see <span><a title="get the list of attributes of an XML node" href="_get__Attributes_lp__Libxml__Node_rp.html">getAttributes(LibxmlNode)</a> -- get the list of attributes of an XML node</span></span></li> <li><span><a title="get the list of children of an XML node" href="_get__Children.html">getChildren</a> -- get the list of children of an XML node</span></li> <li><span><kbd>parse</kbd> -- see <span><a title="parse XML" href="_parse_lp__String_rp.html">parse(String)</a> -- parse XML</span></span></li> <li><span><kbd>toLibxmlNode</kbd> -- see <span><a title="convert a hashtable of type XMLnode to an object of type LibxmlNode" href="_to__Libxml__Node_lp__X__M__Lnode_rp.html">toLibxmlNode(XMLnode)</a> -- convert a hashtable of type XMLnode to an object of type LibxmlNode</span></span></li> <li><span><kbd>toXMLnode</kbd> -- see <span><a title="convert an object of type LibxmlNode to a hashtable of type XMLnode" href="_to__X__M__Lnode_lp__Libxml__Node_rp.html">toXMLnode(LibxmlNode)</a> -- convert an object of type LibxmlNode to a hashtable of type XMLnode</span></span></li> <li><span><kbd>xmlAddAttribute</kbd> -- see <span><a title="add an attribute to an XML node" href="_xml__Add__Attribute_lp__Libxml__Node_cm__String_cm__String_rp.html">xmlAddAttribute(LibxmlNode,String,String)</a> -- add an attribute to an XML node</span></span></li> <li><span><kbd>xmlAddElement</kbd> -- see <span><a title="add an element to an XML node" href="_xml__Add__Element_lp__Libxml__Node_cm__String_rp.html">xmlAddElement(LibxmlNode,String)</a> -- add an element to an XML node</span></span></li> <li><span><kbd>xmlAddText</kbd> -- see <span><a title="add text to an XML node" href="_xml__Add__Text_lp__Libxml__Node_cm__String_rp.html">xmlAddText(LibxmlNode,String)</a> -- add text to an XML node</span></span></li> <li><span><a title="dump a document" href="_xml__Doc__Dump.html">xmlDocDump</a> -- dump a document</span></li> <li><span><kbd>xmlFirstAttribute</kbd> -- see <span><a title="get the first attribute of an XML node" href="_xml__First__Attribute_lp__Libxml__Node_rp.html">xmlFirstAttribute(LibxmlNode)</a> -- get the first attribute of an XML node</span></span></li> <li><span><a title="get the first child of an XML node or attribute" href="_xml__First__Child.html">xmlFirstChild</a> -- get the first child of an XML node or attribute</span></li> <li><span><kbd>xmlGetContent</kbd> -- see <span><a title="get the string content of an XML text node" href="_xml__Get__Content_lp__Libxml__Node_rp.html">xmlGetContent(LibxmlNode)</a> -- get the string content of an XML text node</span></span></li> <li><span><a title="get the name of an XML node or attribute" href="_xml__Get__Name.html">xmlGetName</a> -- get the name of an XML node or attribute</span></li> <li><span><a title="get the next XML node or attribute" href="_xml__Get__Next.html">xmlGetNext</a> -- get the next XML node or attribute</span></li> <li><span><kbd>xmlIsElement</kbd> -- see <span><a title="whether an XML node is an element" href="_xml__Is__Element_lp__Libxml__Node_rp.html">xmlIsElement(LibxmlNode)</a> -- whether an XML node is an element</span></span></li> <li><span><kbd>xmlIsText</kbd> -- see <span><a title="whether an XML node is text" href="_xml__Is__Text_lp__Libxml__Node_rp.html">xmlIsText(LibxmlNode)</a> -- whether an XML node is text</span></span></li> <li><span><kbd>xmlNewRoot</kbd> -- see <span><a title="create the root node of an XML document" href="_xml__New__Root_lp__String_rp.html">xmlNewRoot(String)</a> -- create the root node of an XML document</span></span></li> <li><span><kbd>xmlParse</kbd> -- see <span><a title="parse a string containing XML" href="_xml__Parse_lp__String_rp.html">xmlParse(String)</a> -- parse a string containing XML</span></span></li> <li><span><kbd>xmlType</kbd> -- see <span><a title="the type code for an XML node" href="_xml__Type_lp__Libxml__Node_rp.html">xmlType(LibxmlNode)</a> -- the type code for an XML node</span></span></li> <li><span><kbd>xmlTypeDescription</kbd> -- see <span><a title="the type description for an XML node" href="_xml__Type__Description_lp__Libxml__Node_rp.html">xmlTypeDescription(LibxmlNode)</a> -- the type description for an XML node</span></span></li> <li><span><a title="a hash table of descriptions for XML node type codes" href="_xml__Types.html">xmlTypes</a> -- a hash table of descriptions for XML node type codes</span></li> </ul> </li> <li>Methods <ul> <li><span><a title="get the list of attributes of an XML node" href="_get__Attributes_lp__Libxml__Node_rp.html">getAttributes(LibxmlNode)</a> -- get the list of attributes of an XML node</span></li> <li><span><kbd>getChildren(LibxmlAttribute)</kbd> -- see <span><a title="get the list of children of an XML node" href="_get__Children.html">getChildren</a> -- get the list of children of an XML node</span></span></li> <li><span><kbd>getChildren(LibxmlNode)</kbd> -- see <span><a title="get the list of children of an XML node" href="_get__Children.html">getChildren</a> -- get the list of children of an XML node</span></span></li> <li><span><a title="parse XML" href="_parse_lp__String_rp.html">parse(String)</a> -- parse XML</span></li> <li><span><a title="convert a hashtable of type XMLnode to an object of type LibxmlNode" href="_to__Libxml__Node_lp__X__M__Lnode_rp.html">toLibxmlNode(XMLnode)</a> -- convert a hashtable of type XMLnode to an object of type LibxmlNode</span></li> <li><span><a title="convert an object of type LibxmlNode to a hashtable of type XMLnode" href="_to__X__M__Lnode_lp__Libxml__Node_rp.html">toXMLnode(LibxmlNode)</a> -- convert an object of type LibxmlNode to a hashtable of type XMLnode</span></li> <li><span><a title="add an attribute to an XML node" href="_xml__Add__Attribute_lp__Libxml__Node_cm__String_cm__String_rp.html">xmlAddAttribute(LibxmlNode,String,String)</a> -- add an attribute to an XML node</span></li> <li><span><a title="add an element to an XML node" href="_xml__Add__Element_lp__Libxml__Node_cm__String_rp.html">xmlAddElement(LibxmlNode,String)</a> -- add an element to an XML node</span></li> <li><span><a title="add text to an XML node" href="_xml__Add__Text_lp__Libxml__Node_cm__String_rp.html">xmlAddText(LibxmlNode,String)</a> -- add text to an XML node</span></li> <li><span><a title="get the first attribute of an XML node" href="_xml__First__Attribute_lp__Libxml__Node_rp.html">xmlFirstAttribute(LibxmlNode)</a> -- get the first attribute of an XML node</span></li> <li><span><kbd>xmlFirstChild(LibxmlAttribute)</kbd> -- see <span><a title="get the first child of an XML node or attribute" href="_xml__First__Child.html">xmlFirstChild</a> -- get the first child of an XML node or attribute</span></span></li> <li><span><kbd>xmlFirstChild(LibxmlNode)</kbd> -- see <span><a title="get the first child of an XML node or attribute" href="_xml__First__Child.html">xmlFirstChild</a> -- get the first child of an XML node or attribute</span></span></li> <li><span><a title="get the string content of an XML text node" href="_xml__Get__Content_lp__Libxml__Node_rp.html">xmlGetContent(LibxmlNode)</a> -- get the string content of an XML text node</span></li> <li><span><kbd>xmlGetName(LibxmlAttribute)</kbd> -- see <span><a title="get the name of an XML node or attribute" href="_xml__Get__Name.html">xmlGetName</a> -- get the name of an XML node or attribute</span></span></li> <li><span><kbd>xmlGetName(LibxmlNode)</kbd> -- see <span><a title="get the name of an XML node or attribute" href="_xml__Get__Name.html">xmlGetName</a> -- get the name of an XML node or attribute</span></span></li> <li><span><kbd>xmlGetNext(LibxmlAttribute)</kbd> -- see <span><a title="get the next XML node or attribute" href="_xml__Get__Next.html">xmlGetNext</a> -- get the next XML node or attribute</span></span></li> <li><span><kbd>xmlGetNext(LibxmlNode)</kbd> -- see <span><a title="get the next XML node or attribute" href="_xml__Get__Next.html">xmlGetNext</a> -- get the next XML node or attribute</span></span></li> <li><span><a title="whether an XML node is an element" href="_xml__Is__Element_lp__Libxml__Node_rp.html">xmlIsElement(LibxmlNode)</a> -- whether an XML node is an element</span></li> <li><span><a title="whether an XML node is text" href="_xml__Is__Text_lp__Libxml__Node_rp.html">xmlIsText(LibxmlNode)</a> -- whether an XML node is text</span></li> <li><span><a title="create the root node of an XML document" href="_xml__New__Root_lp__String_rp.html">xmlNewRoot(String)</a> -- create the root node of an XML document</span></li> <li><span><a title="parse a string containing XML" href="_xml__Parse_lp__String_rp.html">xmlParse(String)</a> -- parse a string containing XML</span></li> <li><span><a title="the type code for an XML node" href="_xml__Type_lp__Libxml__Node_rp.html">xmlType(LibxmlNode)</a> -- the type code for an XML node</span></li> <li><span><a title="the type description for an XML node" href="_xml__Type__Description_lp__Libxml__Node_rp.html">xmlTypeDescription(LibxmlNode)</a> -- the type description for an XML node</span></li> <li><span><kbd>xmlTypes(Sequence)</kbd> -- see <span><a title="a hash table of descriptions for XML node type codes" href="_xml__Types.html">xmlTypes</a> -- a hash table of descriptions for XML node type codes</span></span></li> </ul> </li> <li>Symbols <ul> <li><span><a href="_children.html">children</a></span></li> <li><span><a href="_tag.html">tag</a></span></li> <li><span><a href="___Trim.html">Trim</a></span></li> </ul> </li> <li>Other things <ul> <li><span><a title="get XML type code from its description" href="_xml__Type__Index.html">xmlTypeIndex</a> -- get XML type code from its description</span></li> <li><span><a title="a hash table of descriptions for XML node type codes" href="_xml__Type__Table.html">xmlTypeTable</a> -- a hash table of descriptions for XML node type codes</span></li> </ul> </li> </ul> </div> </div> </div> <div class="waystouse"> <h2>For the programmer</h2> <p>The object <a title="an XML parser" href="index.html">XML</a> is <span>a <a title="the class of all packages" href="../../Macaulay2Doc/html/___Package.html">package</a></span>, defined in <span class="tt">XML.m2</span>.</p> </div> <hr> <div class="waystouse"> <p>The source of this document is in <span class="tt">XML.m2:662:0</span>.</p> </div> </div> </div> </body> </html>
Simpan