dkorinets
dkorinets
@lvanvugt You are right
XMLDoc := XmlDocument.Create; XMLRootElement := XmlElement.Create('Root'); XMLChildElement := XmlElement.Create('Child'); XMLRootElement.Add(XMLChildElement); XMLDoc.Add(XMLRootElement);
how do You add child node?
` GetPriceInfo 20000 Customer 1 1 1896-S PCS nav2016 `
Nope, just crashes doe to ResultNode - is not initialized
`If CurrentNodeGlobal.SelectNodes(QueryString,ResultNodeList) then ..` The almost same behavior for "SelectNodes" - return TRUE but QueryString does not exist in XML, the diffidence just that "ResultNodeList" stays initialized. Check that please...
Yes it is, You have tried with **XmlDoc**, but in my case **node** is used. Parent**Node**.SelectSingleNode('NodeName',**ResultNode**) In the case it returns as TRUE and ResultNode - UNINITIALIZED I'll double check...
`CurrentNodeGlobal = '1111111110000Customer001Id19/18/2017 6:10:36 AMNAV2016'` **QueryString** = '//CurrencyId' - **is not present in the xml**; ``` Case true of CurrentNodeGlobal.IsXmlElement : begin CurrentXmlElement := CurrentNodeGlobal.AsXmlElement; IF CurrentXmlElement.SelectSingleNode(QueryString,ResultNode) then //?? -...
From my side Your example code does not work as well. Bellow You can find a screenshot. As You can see after IF statement ResultNode becomes "Uninitialized". Dev environment on...
Could I know when October update will be available please?