Xpath queries with SAX


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Xpath queries with SAX

  1. #1
    Jaco De Villiers Guest

    Xpath queries with SAX


    Is it possible to do the same as selectNodes(sXPath) in SAX? I need to do
    queries on large XML documents in a COLD storage environment.

    If anyone knows can you please help me.

    Thank you

    Jaco



  2. #2
    Russell Jones Guest

    Re: Xpath queries with SAX

    Jaco:

    SAX is a linear method of gathering content. As the SAX parser reads the
    document, it raises events that you can trap. For example, it raises an
    event whenever it parses element tag. By checking the tag content, you can
    create an array or collection of items that would gather the same content as
    a selectNodes XPATH query. So it's possible, but different.

    Russell Jones
    Sr. Web Development Editor
    DevX.com



    "Jaco De Villiers" <jacodv_32@hotmail.com> wrote in message
    news:3a9bc571$1@news.devx.com...
    >
    > Is it possible to do the same as selectNodes(sXPath) in SAX? I need to do
    > queries on large XML documents in a COLD storage environment.
    >
    > If anyone knows can you please help me.
    >
    > Thank you
    >
    > Jaco
    >
    >




  3. #3
    Join Date
    Feb 2009
    Posts
    1

    Thumbs up Evaluate XPaths using SAX

    try http://code.google.com/p/jlibs/wiki/XMLDog

    It evaluates xpaths using SAX

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center