next | previous | forward | backward | up | top | index | toc | Macaulay2 website
XML :: xmlFirstAttribute(LibxmlNode)

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: