Learn R Programming

x3ptools (version 0.0.2)

addtemplate_x3p: Add/change xml meta information in x3p object

Description

Use the specified template to overwrite the general info in the x3p object (and structure of the feature info, if needed).

Usage

addtemplate_x3p(x3p, template = NULL)

Arguments

x3p

x3p object

template

file path to xml template, use NULL for in-built package template

Examples

Run this code
# NOT RUN {
logo <- read_x3p(system.file("csafe-logo.x3p", package="x3ptools"))
# exchange meta information for general x3p information:
logo <- addtemplate_x3p(logo, template = system.file("templateXML.xml", package="x3ptools"))
logo$general.info
# }

Run the code above in your browser using DataLab