Subject: RE: (dsssl) "Default" processing rule? (summary of responses)|
From: "Christopher R. Maden" <crism@xxxxxxxxx>
Date: Wed, 04 Apr 2001 00:19:26 -0700
and Christopher Maden replied
>Try something like > >(default (process-node-list (element-children)))
This solution does exactly what I was looking for. Thank you.
As a result, I did not try to implement Peter Nilsson's suggestion
P> Couldn't you do a query on the subtree for the elements yoy want to process P> (the programlisting elements) and then use (process-node-list) to process P> the result. Something like: P> (process-node-list (q-element 'programlisting)) P> (untested.)
although that approach seems reasonable.
-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