Subject: Re: (dsssl) "Default" processing rule? From: "Christopher R. Maden" <crism@xxxxxxxxx> Date: Mon, 02 Apr 2001 22:36:33 -0700 |
How can I (simply) define a set of rules that will ignore everything *except* an element that can be found at several levels?
Setting (default (empty-sosofo)) results in everything being ignored, presumably because the parent elements of the one I want are not processing their children.
(element one-I-want (do-something))
;; (element-children snl) finds all of the elements that are direct ;; children of singleton nodelist "snl". This is useful for ;; filtering, processing, and counting, when you're not interested in ;; any text, PI, or comment nodes. (define (element-children #!optional (snl (current-node))) (select-by-class (children snl) 'element))
-Chris -- Christopher R. Maden, XML Consultant DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training <URL: http://crism.maden.org/consulting/ > PGP Fingerprint: BBA6 4085 DED0 E176 D6D4 5DFC AC52 F825 AFEC 58DA
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
(dsssl) "Default" processing rule?, Wroth, Mark | Thread | RE: (dsssl) "Default" processing ru, Nilsson, Peter |
(dsssl) "Default" processing rule?, Wroth, Mark | Date | RE: (dsssl) "Default" processing ru, Nilsson, Peter |
Month |