Minimum Origin Version Required: Origin 9.0 SR0
Get XML strings from Tree
BOOL GetString( string & strXML )
Returns TRUE on success, FALSE on failure.
EX1
void TreeNode_GetString_ex1() { string strXML = "<?xml version=\"1.0\"?><OriginStorage><Category NodeID=\"268435456\" Label=\"Line\"><Template3 NodeID=\"46\" Name=\"DropLine.otp\"/></Category></OriginStorage>"; Tree tr; if(tr.SetString(strXML)) out_tree(tr); string strXMLGet; if(tr.GetString(strXMLGet)) printf("XML stirng from the tr: %s", strXMLGet); }
Tree::SetString
origin.h