Description Usage Arguments Value
View source: R/xml_utilities.R
This function builds a Xpath to search nodes in HexSim xml files. It is used internally by hexSimR. When used in the LHS.scenarios function, it constructs the path "/.../name[text()='...']" when param_node is not NA, param_identifier is FALSE and is.LHS is TRUE. Addtional details on arguments are in the scenarios.batch.modifier.
1 2 3 4 5 6 7 8 | make.Xpath(
node_path,
identifier,
attrib,
param_node = NA,
param_identifier = FALSE,
is.LHS = FALSE
)
|
node_path |
The node_path |
identifier |
The identifier of the node |
attrib |
Whether the identifier is an attribute |
param_node |
Whether the parameter is contained in an internal node |
param_identifier |
A character vector if the param has an identifier, FALSE otherwise |
is.LHS |
Whether the Xpath being built is for a LHS |
A character vector with the Xpath
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.