XMLGetNodeUnparsed

Top  Previous  Next

Prototype

 

StrNodeValue:=XMLGetNodeUnparsed(HandleDoc,HandleNode)

 

Description

 

Returns a node value without parsing execution.

 

Parameters

 

HandleDoc: integer value corresponding to the XML handle

 

HandleNode: integer value corresponding to the node handle

 

Returned value

 

StrNodeValue: string corresponding to the node value.

 

Notes

 

None

 

Example

 

XMLFileName:='C:\Recogniform\xml\new.xml';

 

//It opens the file

XMLIn:=XMLOpenDocument(XMLFilename);

 

if XMLIn<>0 then

begin

  //It finds root node

  Root:=XMLFindNode(XMLIn, 0,'d\w');

 

  //It gets content node

  Child:=XMLGetNodeUnparsed(XMLIn, Root);

 

  //It logs node content

  ApplicationLog('Node value is: '+Child);

end;