Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Xmltocursor xml parse error node
Message
De
16/07/2008 12:54:16
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
01330640
Message ID:
01331704
Vues:
17
I decided to bring the data in my xfdf file into my app using lcstring = filetostr(nys.xfdf)
So now lcstring has all the data.


I wrote a parsing routine to find a field, fieldname="ADDRES", remove the value of this field and replace the value with tccursor.address.

Then I use strtofile(lcstring, nys.xfdf) to update the xfdf for display in my app using the adobe reader.


**********************************************************************
Everything seems to be working except the parsing.

I use lnposition = AT(lcstring, fieldname="ADDRESS") to find the address field.

lnposition is coming back 0.

The len of lcstring looks good and the contents of lcstring looks good, too.

Do you know what the problem is here?

**********************************************************************


>Neither displays XML correctly for different reasons. Why not use VFP MODIFY FILE command?
>
>
>>If I open the file in the internet explorer, I see the dashes.
>>
>>If I open the file in the notepad, it looks like this:
>>
><snip>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform