XML Processing

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jay

    #1

    XML Processing

    It seems to me that when I retrieve large amounts of XML data using Visual
    Basic 6 (lets say 900 records 20 fields), processing seems to slow way down.

    Has anyone else experienced this?

    Thank You,




  • Martin Boehm

    #2
    Re: XML Processing

    "Jay" <jayfischer91@h otmail.com> wrote in message
    news:kMylb.2033 $CP6.52@okeprea d04
    [color=blue]
    > It seems to me that when I retrieve large amounts of XML data using
    > Visual Basic 6 (lets say 900 records 20 fields), processing seems to
    > slow way down.[/color]

    That depends. But - yes. If you work with a lot of data, processing
    slows down. I can see no reation to XML, this is the normal behaviour of
    a computer.

    You have given no information of what you do and of what "slowing way
    down" means to you, so do not expect something more helpful than this.

    Martin


    Comment

    • arachno

      #3
      Re: XML Processing

      There are many ways how to "optimize" your XML for increasing speed of
      processign and parsing. So perfomance is not always down to how good your
      PC, but to your skills also.

      Ev.


      Comment

      • Andy Dingley

        #4
        Re: XML Processing

        On Wed, 22 Oct 2003 11:59:15 -0500, "Jay" <jayfischer91@h otmail.com>
        wrote:
        [color=blue]
        >It seems to me that when I retrieve large amounts of XML data using Visual
        >Basic 6 (lets say 900 records 20 fields), processing seems to slow way down.[/color]

        A DOM holds the entire XML document in memory, a relational database
        will hold it on disk and just load pages as required. You can imagine
        the effects for yourself, when single documents become large.

        XML DOM's are a good way to manipulate data, and not a bad way to
        extract pieces from a larger working set. But when your potential
        source set is really big, then it's not the best technology to choose.
        Try building a smaller document (or even several of them) as the
        result of a database query, and only put into it what you need.

        --
        Die Gotterspammerun g - Junkmail of the Gods

        Comment

        • Martin Boehm

          #5
          Re: XML Processing

          "arachno" <shemeshNOSPAM@ kipr.net> wrote in message
          news:bn8hjj$u58 5k$1@ID-155519.news.uni-berlin.de
          [color=blue]
          > So perfomance is not always down to how good your PC,
          > but to your skills also.[/color]

          I did not deny that. ;-)

          Martin


          Comment

          • Jon Best

            #6
            Is XML for me?

            Hi,

            I have a project to create a tool to analyse performances of an athlte being
            tested on a jump mat. (what it is doesn't really matter... it gives me a CSV
            with data in of an athletes scores).

            I need to be able to attch athletes to groups of athletes, and access
            different parts of the data for different tests. I would like to save
            athletes so they can be loaded at a later data and have more data added to
            them. Does it sound like I want to be using XML? And if so what tools do I
            need to consider to do it?

            With the small amount of reading I have done it sounds like DOM would be
            more suited to the job them SAX but would a be better suited using JDOM or
            DOM4J. (It is my intention to implement in java...)

            Any advise or reading material would be very much appreciated. If I am
            really barking up the wrong tree would someone please let me know!


            Thanks

            Jon


            Comment

            Working...