next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
XML :: xmlTypeDescription(LibxmlNode)

xmlTypeDescription(LibxmlNode) -- the type description for an XML node

Synopsis

Description

i1 : xmlParse "<foo>the cat<bar/><!-- a comment--></foo>"

o1 = <foo>the cat<bar/><!-- a comment--></foo>

o1 : LibxmlNode (xmlTypeDescription)
i2 : getChildren oo

o2 = {"the cat"        }
     {<bar/>           }
     {<!-- a comment-->}

o2 : VerticalList
i3 : xmlTypeDescription \ oo

o3 = {text node   }
     {element node}
     {comment node}

o3 : VerticalList