next | previous | forward | backward | up | top | index | toc | Macaulay2 website
XML :: xmlNewRoot(String)

xmlNewRoot(String) -- create the root node of an XML document

Synopsis

Description

i1 : xmlNewRoot "foo"

o1 = <foo/>

o1 : LibxmlNode (xmlTypeDescription)
i2 : xmlDocDump oo

o2 = <?xml version="1.0" encoding="UTF-8"?>
     <foo/>

See also