You
can either do it up front before you call the parser, which could be the
simplest way if you just need to make sure you get a particular top level file.
Otherwise, you can still use the redirection mechanism. No matter what the
parser tells you its going to open, it will use whatever input source you pass
back to it. If that input source uses a completely different file from what was
indicated, it doesn't know or care.
--------------
Dean Roddey
Software Geek
Extraordinaire
Portal, Inc
[EMAIL PROTECTED]
-----Original Message-----
From: Williamson, Siehnai [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 11, 2001 11:19 AM
To: '[EMAIL PROTECTED]'
Subject: input file sourceHi Guys,
Using the SAX parser, how do you tell the parser to get the xml file from a particular path? The Redirect example appears to deal with external files after the parse of the xml file has already started.
Siehnai Williamson
