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.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham