Debian Codegraph @

ext/sxml/sxml-sxpath.scm.in

raw
1 ;;;
2 ;;; sxml.sxpath - SXML Query Language
3 ;;;
4 ;;; This file is mechanically translated for Gauche from
5 ;;; Oleg Kiselyov's SXPATH SXML query language, with
6 ;;; Kirill Lisovsky and Dmitry Lizorkin's improvements.
7 ;;; The original files are:
8 ;;; sxpathlib.scm,v 3.915
9 ;;; sxpath.scm,v 1.1
10 ;;; sxpath-ext.scm,v 1.911
11 ;;; Public domain.
12 ;;;
13
14 (define-module sxml.sxpath
15 (use scheme.list)
16 (use srfi.13)
17 (use text.parse)
18 (use sxml.adaptor)
19 (export sxpath nodeset? as-nodeset sxml:element? ntype-names??
20 ntype?? ntype-namespace-id?? sxml:invert node-eq? node-equal?
21 node-pos sxml:filter take-until take-after map-union
22 node-reverse node-trace select-kids node-self node-join
23 node-reduce node-or node-closure
24 if-sxpath if-car-sxpath car-sxpath
25 sxml:id-alist
26 sxml:string sxml:boolean sxml:number sxml:string-value
27 sxml:node? sxml:attr-list sxml:id sxml:equality-cmp
28 sxml:equal? sxml:not-equal? sxml:relational-cmp
29 sxml:attribute sxml:child sxml:parent sxml:ancestor
30 sxml:ancestor-or-self sxml:descendant sxml:descendant-or-self
31 sxml:following sxml:following-sibling sxml:namespace
32 sxml:preceding sxml:preceding-sibling
33 sxml:child-nodes sxml:child-elements
34 ))
35 (select-module sxml.sxpath)
36
37 ;; using autoload to aviod interdependency that gets in way of cross-build.
38 (autoload sxml.tools sxml:lookup sxml:attr sxml:ns-list)
39
40 ;#include-body "src/sxpathlib.scm"
41 ;#include-body "src/sxpath.scm"
42 ;#include-body "src/sxpath-ext.scm"
43 ;#include-body "src/txpath.scm"
44
45 ;; Local variables:
46 ;; mode: scheme
47 ;; end: