x3p_add_meta {x3ptools}R Documentation

Add/change xml meta information in x3p object

Description

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

Usage

x3p_add_meta(x3p, template = NULL)

addtemplate_x3p(x3p, template = NULL)

Arguments

x3p

x3p object

template

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

Examples

logo <- x3p_read(system.file("csafe-logo.x3p", package="x3ptools"))
# exchange meta information for general x3p information:
logo <- x3p_add_meta(logo, template = system.file("templateXML.xml", package="x3ptools"))
logo$general.info

[Package x3ptools version 0.0.4 Index]