This method is used to select the first child element of the presently selected element.
The return value of type BOOL indicates TRUE if an element was successfully selected.
A call of this method returns either Ok, NoElementSelected, or ElementNotFound. Use the property Result to obtain the result of the method.
The method has no inputs.
Precondition: The XML file (illustrated below) was read using the FB_XmlRead and the content is stored in the array astXmlFile of type XmlItems.
Code: fbXmlItems.SelectElement('/root/A1', astXmlData); Result: The element B1 is selected. |
![]()
|