hi guys
i have a problems i have a xml code and i want take some part of it
<?xml version="1.0" encoding="UTF-8"?>
<GetSuggestedCategoriesResponse xmlns="urn:ebay:apis:eBLBaseComponents"><Timestamp>2016-08-24T23:21:20.616Z</Timestamp><Ack>Success</Ack><Version>979</Version><Build>E979_UNI_API5_18046952_R1</Build><SuggestedCategoryArray><SuggestedCategory><Category><CategoryID>9355
Another way :
#Include <Array.au3>
$txt = FileRead("file.xml")
$tmp = StringRegExp($txt, '(?i)(?:<(Category)>|\G)(?|<(Category(?:Parent)?(?:ID|Name))>([^<]+))<\/(?-1)', 3)
_ArrayDisplay($tmp)
$n = 0
For $i = 0 To UBound($tmp) - 1 Step 3
If $tmp[$i] = "Category" Then
$n += 1
ConsoleWrite(@CRLF & "Item #" & $n & @CRLF)
EndIf
ConsoleWrite(" " & $tmp[$i + 1] & " : " & $tmp[$i + 2]