...
Select child node from the root XML node based on the XML path.
REQUIRED PARAMETERS
XMLNode: the root of XML node
path: xml child node path
required: If 'required' is false and 'thisNode' is nil, the function returns nothing and exits.
...
Code Block |
---|
local patientXML = recordXMLchargeTransaction:selectnumber("chargeTransaction/patient", truebatchId") .. '-' .. chargeTransaction:number("syncId") |
Node.text()
USAGE
Select child node from the root XML node based on the XML path
...
The child node tree
SAMPLE CODE
Code Block |
---|
local patientXMLPID[3][1] = recordXMLpatient:selecttext("chargeTransaction/patient", truemedicalRecordNumber") |
Node.children()
USAGE
Select child node from the root XML node based on the XML path
...
SAMPLE CODE
Code Block |
---|
local patientXMLheader = recordXMLchargeTransaction.headers:selectfirstChild("chargeTransaction/patientheader", "headerDefinition/systemIdentifier", true"FELL") |
Node.removeText()
USAGE
Select child node from the root XML node based on the XML path
REQUIRED PARAMETERS
XMLNode: the root of XML nodepath: xml child node pathrequired: If 'required' is false and 'thisNode' is nil, the function returns nothing and exits.
RETURNS
The child node tree
...