File: todo.org

package info (click to toggle)
libdata-dpath-perl 0.57-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,320 kB
  • sloc: perl: 3,705; makefile: 2
file content (26 lines) | stat: -rw-r--r-- 922 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Idea collection

* XPath localization paths
  - [ ] ancestor
        - http://doc.ddart.net/xmlsdk/htm/xpath_syntax2_3prn.htm
        - examples:
          * Find the nearest book ancestor of the current element:
            ancestor::book[1]
          * Find the nearest ancestor book that has an author element:
            ancestor::book[author][1]
          * Find the nearest ancestor author element that is contained
            in a book element:
            ancestor::author[parent::book][1]        
  - [ ] preceding-sibling
  - [ ] preceding
        - might not work well with hashes
        - still useful, as data could be tied to Tie::IxHash?
        - else ignore the wrong order, it's the user's responsibility
          to (not) use it this way, as it is the same with ordinary
          perl % and @
* Functions for node collections
  - [ ] position()
  - [ ] last()
  - [ ] count()
  - [ ] id()
  - [ ]