XMLTextMode
, XMLProcessingInstruction
.
This function provides access to their raw contents.
This has been extended to operate recursivel on arbitrary XML nodes
that contain a single text node.xmlValue(x)
XMLNode
object whose
contents are to be returned.value
slot of the XMLNode
object.
This is typically a string.xmlChildren
xmlName
xmlAttrs
xmlNamespace
node <- xmlNode("foo", "Some text")
xmlValue(node)
xmlValue(xmlTextNode("some more raw text"))
Run the code above in your browser using DataLab