Jump to content

Recommended Posts

Posted (edited)

Hi , now i got a smilar problem, and i have no clue whats wrong with it

 

$root = @ScriptDir & "\TMP\effect"
$FileList = _FileListToArray($root,"*.xml")


For $x = 1 to $FileList[0]
    $aktuelleXML = FileOpen($root & '\' & $FileList[$x])
    $offeneXML = FileRead($aktuelleXML)
    $groupID = StringRegExp($offeneXML,'<group_id value="([^"]*)',3)
    FileClose($aktuelleXML)
Next
Exit

i get the content of the xml when i output the the content of "offeneXML" but i get an error

Unable to parse line

Concering this line $groupID = StringRegExp($offeneXML,'<group_id value="([^"]*)',3)

 

any idea ?

Edited by apbonn

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...