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

xmlIsText(LibxmlNode) -- whether an XML node is text

Synopsis

Description

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

o1 = <bar>hi there</bar>

o1 : LibxmlNode (xmlTypeDescription)
i2 : c = xmlFirstChild n

o2 = "hi there"

o2 : LibxmlNode (xmlTypeDescription)
i3 : xmlIsText c

o3 = true

See also