Hi i have the following xml file and i try to read with xojo xmldocument but i not found the way to read because have multiple section paramenters: here is the example XML document:
<?xml version="1.0" encoding="ISO-8859-1"?>One solution is to use the Xql and loop through each section(metadata).
/ Load XML
Dim xml As New XmlDocument
Try
xml.LoadXml(kTestXml)
Catch e As XmlException
MsgBox("XML error: " + e.Message)
End Try
// Display all the Player names
Dim nodes As XmlNodeList
nodes = xml.XQL("//Player") // Find all Player nodes in XML
// Loop through results and display each name attribute
Dim node As XmlNode
For i As Integer = 0 To nodes.Length - 1
node = nodes.Item(i)
MsgBox("Player: " + node.GetAttribute("name"))
Next
Thanks!!!, i going to try this.