Learn R Programming

XML (version 0.7-3)

xmlValue: Extract the contents of a leaf XML node

Description

Some types of XML nodes have no children, but simply text. Examples are XMLTextMode, XMLProcessingInstruction. This function provides access to their contents.

Usage

xmlValue(x)

Arguments

x
the XMLNode object whose contents are to be returned.

Value

  • The object stored in the value slot of the XMLNode object. This is typically a string.

References

http://www.w3.org/XML, http://www.jclark.com/xml, http://www.omegahat.org

See Also

xmlChildren xmlName xmlAttrs xmlNamespace