Hi,
When reading an array in a XML file, how do i get the NodeValue of the current Handle? Looking at my code below, i have tried to use the property Value to get the node value, but it doesn't. I also tried GetChildNodeValue and psNodeValue.
The XML i'm trying to get the value from looks like this:
<frontimages>
<frontimage/>
</frontimages>
Code:
Procedure Find_Winner_Front_Images Handle hoListItem Handle hoList hoListItem2 hoHead
Integer iItems i
String sFrontImage
Get FindNode of hoListItem "frontimages" to hoHead
Get FindNodeList of hoHead "frontimage" to hoList
Get NodeListLength of hoList to iItems
Decrement iItems
For i from 0 to iItems
Get CollectionNode of hoList i to hoListItem2
Get Value of hoListItem2 to sFrontImage
If (sFrontImage ne "") Begin
// Do DB stuff
End
Loop
Send Destroy of hoList
Send Destroy of hoListItem2
Send Destroy of hoHead
End_Procedure