Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Edit a file
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01416197
Message ID:
01416286
Vues:
51
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform