Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating XML file
Message
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01356390
Message ID:
01356396
Views:
31
This message has been marked as a message which has helped to the initial question of the thread.
>Hi,
>
>I am looking for suggestions to do the following.
>
>I need to create an XML file that will have two-fold purpose:
>
>1. I can create a cursor of a groups (following example will illustrate)
>2. Or create a cursor of all entries in one group
>
>Here is a sample XML
>
>
><MYLIST>
>   <GROUP>
>         <NAME>Group1 Name</NAME>
>         <EMAIL>myemail1@domain.com</EMAIL>
>        <EMAIL>myemail2@domain.com</EMAIL>
>   </GROUP>
>  <GROUP>
>         <NAME>Group 2 Name</NAME>
>         <EMAIL>myemail3@domain.com</EMAIL>
>        <EMAIL>myemail4@domain.com</EMAIL>
> </GROUP>
></MYLIST>
>
>
>I can get names of groups using the following syntax:
>
>
>XMLTOCURSOR( "MYFILE.XML", "MYCURSOR", 512  )
>
>
>But how do I get list of EMAIL tags for just one group, say "Group 1 Name"?
>
>Is the above structure of the XML good and/or how can it be improved?
>
>Thank you in advance for any help.


Check Message #1065333
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform