|
-
Sep 9th, 2002, 09:37 AM
#1
Thread Starter
Junior Member
xml and ado recordsets
It is possible load a node of a xmlDocument in an adodb recordset?
-
Sep 9th, 2002, 12:52 PM
#2
Not sure what you mean exactly.
-
Sep 10th, 2002, 03:16 AM
#3
Thread Starter
Junior Member
xml and ado recordsets
You have reason. I will try to explain the problem better.
Imagine I have a xml file like this:
<?xml Version="1.0"?>
<extract>
<title1>
…
</title1>
<title2>
…
</title2>
<lines>
<line>
…
</line>
<line>
…
</line>
<line>
…
</line>
</lines>
</extract>
..and I want to load into a recordset only the ‘lines’ node. How can I do it?
-
Sep 10th, 2002, 08:14 AM
#4
I don't think you can just load part of an XML doc into a recordset. Also, as far as I know, to load an xml doc intop a recordset, there's certain meta data the recordset needs which defines the data types and shape of the data.
If all you need is the one node, why not use the XML DOM object or a SAX parser? It would be much easier and with less overhead than with a recordset.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|