Re: compiling XPath to Scheme source code
"Oleg A. Paraschenko" <[email protected]> Tue, 23 Nov 2004 07:51:11 +0300
| Newsgroups | gmane.lisp.scheme.ssax-sxml |
|---|---|
| Organization | xmlhack.ru |
| Message-ID | <[email protected]> |
Hello Dmitry, thank you for suggestions. On Mon, 22 Nov 2004 15:08:18 +0300 "Dmitry Lizorkin" <[email protected]> wrote: > Hello! > > > I'd like to get suggestions what other XPath issues should > > be tested before starting to make a real implementation. > > You mignt be interesting for you to test some of the following XPath > issues: > > a. Predicates that involve context position and/or size when the > location > step is applied to a non-singleton nodeset. In particular, your example > > /AAA/BBB[1] # selecting a node by its position > for the document like the one below: > > (*TOP* (AAA (BBB "11") (BBB "12")) > (AAA (BBB "21") (BBB "22"))) > > b. Several predicates, some of them to involve context position and/or > size. For example: > > child::para[attribute::type='warning'][position()=5] > > Please note the semantical difference of this location path with the one > below: > > child::para[position()=5][attribute::type="warning"] > > c. Compling XPath location paths that contain non-desceding axes, e.g. > following-sibling or parent. > > Regards, > Dmitry > > -- Oleg Paraschenko ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/