Macaulay2 » Documentation
Packages » XML :: xmlFirstAttribute(LibxmlNode)
next | previous | forward | backward | up | index | toc

xmlFirstAttribute(LibxmlNode) -- get the first attribute of an XML node

Synopsis

Description

i1 : xmlParse ///<bar id="foo" name="too"/>///

o1 = <bar id="foo" name="too"/>

o1 : LibxmlNode (xmlTypeDescription)
i2 : xmlFirstAttribute oo

o2 = id = "foo"

o2 : LibxmlAttribute

See also

Ways to use this method: