You've to use FILETOSTR() to read XML into a string first. See correction inline
>I tried the following:
>
>
cTagName = STREXTRACT(FILETOSTR("C:\test2\PayRegExtract.xml"),"<table1>","</table1>",1,1)
>MESSAGEBOX(cTagName,0,'')
>
>
>and it yield empty value.
>
--sb--