i1 : n = xmlParse ///<bar id="foo" name="too"></bar>/// o1 = <bar id="foo" name="too"/> o1 : LibxmlNode (xmlTypeDescription) |
i2 : xmlGetName n o2 = bar |
i3 : xmlFirstAttribute n o3 = id = "foo" o3 : LibxmlAttribute |
i4 : xmlGetName oo o4 = id |