project BLF > class XML > method ReadXMLNodeValue
Parameters
| icXMLFile | input | character | |
| icStartTag | input | character | |
| icNodeTag | input | character | |
| ocNodeValue | output | character | |
| oiReturnStatus | output | integer | Return status of the method. |
Internal usage
BLF
QadFinancials
program code (program1/xml.p)
<M-1 run ReadXML
(input icXMLFile (icXMLFile),
input icStartTag (icStartTag),
output tNodes (tNodes),
output oiReturnStatus (oiReturnStatus)) in XML>
if oiReturnStatus < 0
then return.
find first tNodes where tNodes.tcNodeName = icNodeTag no-error.
if available tNodes
then ocNodeValue = tNodes.tcNodeValue.