XmlSchema: XML Node Schema

Description Usage Format Fields Examples

Description

Defines the XML schema of a node.

Usage

1

Format

An object of class R6ClassGenerator of length 25.

Fields

schema_name

the name of the schema

file_pattern

regular expression pattern matching the file-name extension

extension

the file-name extension

prefix

the prefix that these documents have in the URI

atoms

named character vector of xpath locations

constructor

an RDF constructor function that can be called on a list of atoms extractor from a node in the schema

components

a list of XmlSchema object containing the nested components in the node

Examples

1
taxonx = XmlSchema$new(schema_name = "taxonx", file_pattern = ".*\\.xml")

pensoft/ropenbio documentation built on Dec. 17, 2020, 5:50 a.m.