I have an *.xml (RushSite.xml) file here and i would like to retrieve specific values from it, site names to be more precise but after a lot of reading and searching i'm unable to read complete content of it.
My first attempt was this:
//echo $read(C:\FTPRush\RushSite.xml, w, *SITE NAME=*)
*Trying to get atleast some values from the file
Then i tried to add a while loop in it but i'm stuck in getting results back of it in active window.
alias Names {
while ($exists(%FTPRushDir $+ RushSite.xml) == $false) { set %FTPRushDir $sdir(c:\,Select your FTPRush's folder)
}
var %nr = 1, %matches
while ($read(%FTPRushDir $+ RushSite.xml, w, *SITE NAME*, %nr)) {
var %matches = %matches $readn
var %nr = $calc($readn +1)
}
}
What i want to accomplish is to add those names in a hash table but before i go there i first wanna make this work.