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

getAttributes(LibxmlNode) -- get the list of attributes of an XML node

Synopsis

Description

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

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

o1 : LibxmlNode (xmlTypeDescription)
i2 : a = getAttributes oo

o2 = {id = "foo"  }
     {name = "too"}

o2 : VerticalList
i3 : class \ a

o3 = {LibxmlAttribute}
     {LibxmlAttribute}

o3 : VerticalList