Results 1 to 4 of 4

Thread: xml and ado recordsets

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2001
    Location
    Barcelona
    Posts
    26

    xml and ado recordsets

    It is possible load a node of a xmlDocument in an adodb recordset?

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687
    Not sure what you mean exactly.
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Sep 2001
    Location
    Barcelona
    Posts
    26

    Question 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?

  4. #4
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687
    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.
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width