make.Xpaths: Check conditions and pass the right arguments to make.Xpath

Description Usage Arguments Value

View source: R/xml_utilities.R

Description

See scenarios.batch.modifier for addtional details on arguments

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
make.Xpaths(
  node_paths,
  Xpaths,
  identifiers,
  attribs,
  param_nodes = NA,
  param_node_identifiers = FALSE,
  param_node_attributes = FALSE,
  param_identifiers = FALSE,
  is.LHS = FALSE
)

Arguments

node_paths

A character vector of node_paths

Xpaths

A empty list of length = length(node_paths)

identifiers

A character vector of node identifiers

attribs

A logical vector as to whether the identifiers are attributes

param_nodes

A character vector if the parameters are contained in internal nodes, NA otherwise

param_node_identifiers

A character vector if the param_nodes have identifiers, FALSE otherwise

param_node_attributes

Whether the param_node_identifiers is an attribute (TRUE) or not (FALSE).

param_identifiers

A character vector if the params have identifiers (it is assumed these are attributes), FALSE otherwise

is.LHS

A logical vector whether the Xpaths being built are for a LHS

Value

A list (Xpaths) of character vectors with the Xpaths


carlopacioni/HexSimR documentation built on Nov. 28, 2020, 4:12 p.m.