I'm wondring, if all my elements, which are called with a ... ByName-Method are empty?
I'm definitly sure, there are ChildElements with the given Name (see attached file).
If i call the elements by the GetChildElements-Method, I can iterate through the elements and they have the Name.
Any idea what's wrong with my calls?
B4X:
Sub XOMBuilder3_BuildDone(XOMDocument1 As XOMDocument, Tag As Object)
Dim RootElement As XOMElement
Dim xmlTables As XOMElements
If XOMDocument1.IsInitialized Then
RootElement=XOMDocument1.RootElement
xmlTables = RootElement.GetChildElementsByName("tables")
For i1 = 0 To xmlTables.Size - 1
Log(i1)
Next
End If
End Sub
I'm definitly sure, there are ChildElements with the given Name (see attached file).
If i call the elements by the GetChildElements-Method, I can iterate through the elements and they have the Name.
Any idea what's wrong with my calls?