04 Jun 2003 20:15:21 UTC
- Distribution: XML-Filter-Dispatcher
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (1)
- Testers (2 / 522 / 0)
- KwaliteeBus factor: 0
- 29.33% Coverage
- License: unknown
- Activity24 month
- Download (86.03KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
XML::Filter::Dispatcher::Parser - Parses the XPath subset used by ...::Dispatcher
use XML::Filter::Dispatcher::Parser; my $result = XML::Filter::Dispatcher::Parser->parse( $xpath );
Some notes on the parsing and evaluation:
The result expressions alway return true or false. For XPath expressions that would normally return a node-set, the result is true if the current SAX event would build a node that would be in the node set. No floating point or string return objects are supported (this may change).
The XPath context node is the document root (theoretically; in reality there is none). The variables are the Dispatcher's data members, and the function library is XXX.
Not sure what to do about the context position, but the context size is of necessity undefined.
The namespace mapping will be added in when I grok the NamespaceHelper.
Module Install Instructions
To install XML::Filter::Dispatcher, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install XML::Filter::Dispatcher
For more information on module installation, please visit the detailed CPAN module installation guide.