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

xmlGetContent(LibxmlNode) -- get the string content of an XML text node

Synopsis

Description

i1 : xmlParse ///<bar>hi there</bar>///

o1 = <bar>hi there</bar>

o1 : LibxmlNode (xmlTypeDescription)
i2 : xmlFirstChild oo

o2 = "hi there"

o2 : LibxmlNode (xmlTypeDescription)
i3 : xmlGetContent oo

o3 = hi there
i4 : class oo

o4 = String

o4 : Type

Ways to use this method: