Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XML empty manipulation
Message
De
20/09/2001 16:09:05
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00558610
Message ID:
00558964
Vues:
31
>The only hack I could come up with in such a quick way is this: (Set deleted must be on)
>
>
>LOCAL lEmptyCursor
>lEmptyCursor=ATC("< /xsd:schema >< /VFPData >",STRTRAN(CHRTRAN(lcxml,CHR(9)+CHR(13)+CHR(10),SPACE(3))," ",""))>0
>XMLTOCURSOR(lcXML, "the alias")
>IF lEmptyCursor
>   DELETE ALL
>ENDIF
>
Yes, either that or the other approach I use to just return a messagebox to notify the user.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform