41 printf(" Application Name is: '%S'\n", xNode.getChildNode(L"Application").getAttribute(L"name"));
42
43// this prints "Hello World!"
44 printf(" Text inside Header tag is :'%S'\n", xNode.getText());
45
46// this prints "urn"
47 printf(" Value of the first attribute of the 'PMML/Extension/Key' tag is :'%S'\n", xMainNode.getChildNodeByPath(L"Extension/Key").getAttributeValue());
48
49// this gets the number of "NumericPredictor" tags:
277 xMainNode=xMainNode.getChildNode(); xMainNode=xMainNode.getParentNode(); t=(wchar_t*)xMainNode.getName(); printf(" Ex2: Name of top node; '%S'\n",t?t:L"null");