Macaulay2
»
Documentation
Packages
»
XML
::
Table of Contents
next | previous | forward | backward | up |
index
|
toc
XML : Table of Contents
XML
-- an XML parser
children
getAttributes(LibxmlNode)
-- get the list of attributes of an XML node
getChildren
-- get the list of children of an XML node
LibxmlAttribute
-- the class of all XML attributes created by the library libxml
LibxmlNode
-- the class of all XML nodes created by libxml2
parse(String)
-- parse XML
tag
toLibxmlNode(XMLnode)
-- convert a hashtable of type XMLnode to an object of type LibxmlNode
toXMLnode(LibxmlNode)
-- convert an object of type LibxmlNode to a hashtable of type XMLnode
Trim
xmlAddAttribute(LibxmlNode,String,String)
-- add an attribute to an XML node
xmlAddElement(LibxmlNode,String)
-- add an element to an XML node
xmlAddText(LibxmlNode,String)
-- add text to an XML node
xmlDocDump
-- dump a document
xmlFirstAttribute(LibxmlNode)
-- get the first attribute of an XML node
xmlFirstChild
-- get the first child of an XML node or attribute
xmlGetContent(LibxmlNode)
-- get the string content of an XML text node
xmlGetName
-- get the name of an XML node or attribute
xmlGetNext
-- get the next XML node or attribute
xmlIsElement(LibxmlNode)
-- whether an XML node is an element
xmlIsText(LibxmlNode)
-- whether an XML node is text
xmlNewRoot(String)
-- create the root node of an XML document
XMLnode
-- the class of all XML trees created by the library libxml2
xmlParse(String)
-- parse a string containing XML
xmlType(LibxmlNode)
-- the type code for an XML node
xmlTypeDescription(LibxmlNode)
-- the type description for an XML node
xmlTypeIndex
-- get XML type code from its description
xmlTypes
-- a hash table of descriptions for XML node type codes
xmlTypeTable
-- a hash table of descriptions for XML node type codes