>Hi Sergey,
>
>I tried the following:
>
>
>cTagName = STREXTRACT("C:\test2\PayRegExtract.xml","<table1>","</table1>",1,1)
>MESSAGEBOX(cTagName,0,'')
>
>
>and it yield empty value.
>
>thanks
>Nick
In STREXTRACT you need to deal with the content of the file, not the file. E.g. STREXTRACT(filetostr(myXMLFile), ...)
cTagName = STREXTRACT(FILETOSTR("C:\test2\PayRegExtract.xml"),"<table1>","</table1>",1,1)
MESSAGEBOX(cTagName,0,'')
If it's not broken, fix it until it is.
My Blog