xerces/SAX xml search
- From: foolproofplan@xxxxxxxxx
- Date: 25 Apr 2007 11:56:12 -0700
I am currently working on coding something in c++ which allows me to
find locations (line/column) of certain elements and attributes within
an xml file. For this task, I am trying to create a SAX parser which
will search through an xml file as it parses. I have set up a simple
SAX parser and an empty handler.
I need a point in the right direction on where to begin with making
the parse search. I am not sure what is the best way to have the
parser take something like a string which would keep track of exactly
what i am looking for.
I am also unsure how to handle the search itself. Should I have two
parsers? (One which begins to find elements that fit the first
elements description and then parse that element to see if it contains
all the criteria/hierarchy of what i am looking for.)
Thanks in advance,
- Marc
.
- Follow-Ups:
- Re: xerces/SAX xml search
- From: Joseph Kesselman
- Re: xerces/SAX xml search
- Prev by Date: Re: XQuerying material between elements
- Next by Date: Re: xerces/SAX xml search
- Previous by thread: XQuerying material between elements
- Next by thread: Re: xerces/SAX xml search
- Index(es):
Relevant Pages
|