Stefan, I have implemented a visitor pattern for JAXEN but I've been so busy lately that I have not had the time to check it into the CSV repository. I hope to do this by the end of the week. I also use the visitor to translate it into another query languages. I can send you my snapshot if you cannot wait until I check the stuff in Regards
Eddie ----- Original Message ----- From: "bob mcwhirter" <[EMAIL PROTECTED]> To: "Stefan Daume" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, October 10, 2001 3:16 PM Subject: [Jaxen] Re: [SAXPath-users] XPath object structure > On Wed, 10 Oct 2001, Stefan Daume wrote: > > > I have just started looking at JAXEN and SAXPATH because I need an > > XPath parser. > > Great! Welcome aboard. > > > My main interest is actually how a compiled XPath expression is > > represented. Is their any access to a persistent "internal" object > > representation of this XPath expression? Or maybe there is none since > > JAXEN is concerned with simply evaluating the expression. > > You have a few choices... > > a) Use the Jaxen object trees, and extract the information you > want. If some methods are private or otherwise not available > to you, let us know, and we'll open them up for you. > > b) Someone was writing a Visitor pattern implementation for Jaxen. > I'm not certain what the status is, but that might could help > you. > > c) Use Jaxen, but configure up a different XPathFactory (possibly > just extending the DefaultXPathFactory to construct data-only > nodes for your needs. > > > For my application I have to translate Xpath expressions into yet > > another representation. It would be fantastic if I could pick up a > > parser and than just traversed the generated representation (some web > > of objects). > > That should be possible. Maybe not immediately with the current > snapshots, but we'll certainly work with you, as I'm sure other > folks have the same needs. > > -bob > > > _______________________________________________ > Jaxen-interest mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jaxen-interest _______________________________________________ Jaxen-interest mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jaxen-interest