Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Folder Structure in XML
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01133307
Message ID:
01133312
Views:
12
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
Previous
Reply
Map
View

Click here to load this message in the networking platform