Changeset 36102 in project


Ignore:
Timestamp:
08/10/18 23:16:08 (14 months ago)
Author:
sjamaan
Message:

Document sxpath for CHICKEN 5

File:
1 copied

Legend:

Unmodified
Added
Removed
  • wiki/eggref/5/sxpath

    r36083 r36102  
    11[[tags:eggs]]
    22
    3 This is version 0.2 of the '''sxpath''' extension library for Chicken Scheme.
     3This is the '''sxpath''' extension library for Chicken Scheme.
    44
    55[[toc:]]
     
    9494
    9595<enscript highlight="scheme">
    96 (use sxpath)
     96(import sxpath)
    9797
    9898;; selects all the 'item' elements that have an 'olist' parent
     
    103103
    104104
    105 (use sxpath-lolevel data-structures)
     105(import sxpath-lolevel (chicken base))
    106106
    107107;; selects only the nth 'item' element under each 'olist' parent
     
    216216
    217217<enscript highlight="scheme">
    218 (use txpath)
     218(import txpath)
    219219
    220220;; selects all the 'item' elements that have an 'olist' parent
     
    230230 => ((item "1"))
    231231
    232 
    233 (use sxpath sxpath-lolevel data-structures)
    234232
    235233;; selects only the nth 'item' element under each 'olist' parent
     
    13031301=== Version history
    13041302
     1303; 1.0 : Port to CHICKEN 5.
    13051304; 0.2.1 : Remove warning about omitting a nonexisting identifier ({{define-macro}}) from the {{chicken}} module.  Fixes #1316, thanks to Vasilij Schneidermann.
    13061305; 0.2 : Add modules for DDO and contextual versions of sxpath.  Split up xpath-parser low-level stuff into its own module.
Note: See TracChangeset for help on using the changeset viewer.