What about using wwDotNetBridge.dll (WC 5.60)? Do you think this might be worth pursuing? I imagine I can return a populated hierarchal object or DataSet from Dot Net to Fox. Does this sound at all feasible to you?
Note I am aware of the structure; so once populated it's just a matter of drilling down thru all the nodes. It's getting the completely populated object that's my issue. Any clues appreciated (as always).
XmlAdapter supports custom schemas but it's not trivial to set this up. It's pretty work intensive. The problem is that you have to map everything manually which is almost as tediuous as writing the MSXML parsing code yourself.
Another option is to use wwXML and XmlToObject, but that too requires that you create hte object structure to parse into first.
If you manually parse wwXML has a few helpers that can make it easier to convert types from XML to Fox values.
+++ Rick ---
In my WC 5.50 app I need to import some hierarchal XML from a Java app.
Is there a way to build a fox cursor from an XML Node (HasChildren = false) using wwXML WC 5.50?
Can I, for example, select a node and use a method like BuildCursorFromXML then ParseXMLToCursor when importing XML? ... or, (i see in doc I must have DTD) is this just not possible unless the XML was build using wwXML? I have search wconnect.chm with no luck other than getting more confused maybe.
An external XSD schema is in use.
I suspect I must specify a Node and create a cursor, but is there a way to get wwXML to create the cursor from the XML when a node is specified and then populate the cursor from the node?
Any clues on a recommended method of parsing hierarchal XML to fox cursors appreciated.