Hello,
sorry to bother, but I'm in a bit of a rush and I always forget everything about FoxPro, I did a bit of research but didn't find an answer on the net.
I have a table with an XML field, I load it in a cursor with SqlExec
Now I would like to feed this XML contained in a field of the row of this cursor to a XMLAdapter instance or any XML parser, really I don't remember how I used to parse XMLs in FoxPro.
Can you please tell how can I do this and what you would use to parse the XML?
The structure of the XML is always
[pre]<father>
</father>[/pre]
I just need to check if the rows of the cursor, in their XMLs, have a child with a specific value for the attribute "attr"
Thank you, again sorry to bother
sorry to bother, but I'm in a bit of a rush and I always forget everything about FoxPro, I did a bit of research but didn't find an answer on the net.
I have a table with an XML field, I load it in a cursor with SqlExec
Now I would like to feed this XML contained in a field of the row of this cursor to a XMLAdapter instance or any XML parser, really I don't remember how I used to parse XMLs in FoxPro.
Can you please tell how can I do this and what you would use to parse the XML?
The structure of the XML is always
[pre]<father>
<child attr="1"></child>
<child attr="2"></child>
<child attr="3"></child></father>[/pre]
I just need to check if the rows of the cursor, in their XMLs, have a child with a specific value for the attribute "attr"
Thank you, again sorry to bother