Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Folder Structure in XML
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01133307
Message ID:
01133312
Vues:
13
Use ADIR() with the parameter "D" as the third one, into a cursor and from there use cursortoXML()
PUBLIC ARRAY myfolders[1]
CREATE CURSOR myfolders2 (name c(50))
CD c:\
nCount = ADIR(myfolders,'',"D")
FOR i = 1 TO nCount
  INSERT INTO myfolders2 (name) values(myfolders[i,1])
ENDFOR
CURSORTOXML("myfolders2", "myXMLFile.xml", 1, 512, 0, "1")
>I am currenlty doing dome work in XML and would like to be able to view
> some Hierarchical data as an XML file
>The folder structure seems an obvious choice.
>How do I dump , say my own drive C: (Folders only would do) into an XML file
>
>regards,
>Gerard
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform