Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <entities>
- <entity>
- <name>
- Mation Jr, Mr Auto
- </name>
- <legalname>
- Mr Auto Mation Jr
- </legalname>
- </entity>
- <entity>
- <name>
- Mation Sr, Mr Auto
- </name>
- <legalname>
- Mr Auto Mation Sr
- </legalname>
- </entity>
- </entities>
- #include <_MSXML.au3>
- ; Set the XML file
- $xmlpath = @ScriptDir & "Entity.xml"
- ; Fetch All Entities from XAML
- $ENTITIES = _MSXML_SelectNodes($oXml, "entities/entity")
- If ($ENTITIES[0] > 0) Then
- ; This part works and will iterate for x amount of entities provided
- ; Fetch Entity as pos $i
- For $i = 1 To $ENTITIES[0] Step 1
- ; How can I iterate through attributes from ENTITIES[$i] ??
- Next
- Else
- MsgBox(4096, 'Error', 'No entity was provided')
- EndIf
Add Comment
Please, Sign In to add comment