| as_xmp {xmpdf} | R Documentation | 
Coerce to xmp objects
Description
as_xmp() coerces objects into an xmp() object.
Usage
as_xmp(x, ...)
## S3 method for class 'docinfo'
as_xmp(x, ...)
## S3 method for class 'list'
as_xmp(x, ...)
Arguments
| x | An object that can reasonably be coerced to a  | 
| ... | Further arguments passed to or from other methods. | 
Value
An xmp() object.
Examples
 di <- docinfo(author = "John Doe", title = "A Title")
 as_xmp(di)
 l <- list(`dc:creator` = "John Doe", `dc:title` = "A Title")
 as_xmp(l)
[Package xmpdf version 0.2.1 Index]