parseSystemMetadata: Parse an external XML document and populate a SystemMetadata...

Description Usage Arguments Value See Also Examples

Description

Parse an XML representation of system metadata, and set the object slots of a SystemMetadata object the with obtained values.

Usage

1
2
3
4
parseSystemMetadata(x, ...)

## S4 method for signature 'SystemMetadata'
parseSystemMetadata(x, xml, ...)

Arguments

x

The SystemMetadata object

...

Additional arguments passed to other functions or methods

xml

The XML representation of the capabilities, as an XMLInternalElementNode

Value

the SystemMetadata object representing an object

See Also

SystemMetadata-class

Examples

1
2
3
4
library(XML)
doc <- xmlParseDoc(system.file("testfiles/sysmeta.xml", package="datapack"), asText=FALSE)
sysmeta <- new("SystemMetadata")
sysmeta <- parseSystemMetadata(sysmeta, xmlRoot(doc))


Search within the datapack package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.