| Subject: RE: some basic questions From: "W. Eliot Kimber" <eliot@xxxxxxxxxx> Date: Fri, 10 Apr 1998 11:53:52 -0700 | 
At 10:22 AM 4/10/98 -0500, Reynolds, Gregg wrote:
>Jade does implement the query language; it's the transformation language
>that is not supported.  However, Jade supports a number of very useful
>extensions to the standard that make if a very powerful tool for
>transformations anyway. 
What Jade doesn't support is the query *feature* of the style language,
which means that you can't use query construction rules. However, you can
get around this by replacing the normal construction rules with a single
default rule that uses a COND expression to apply queries to the current
node, e.g.:
(default
  (cond
   ((query-function-one (current-node))
     (make x))
   ((query-function-two (current-node))
     (make y))
   (else
     (process-children)))
It's ham fisted, but it works. I don't know how efficient it is (probably
not very).
Cheers,
Eliot
--
<Address HyTime=bibloc>
W. Eliot Kimber, Senior Consulting SGML Engineer
Highland Consulting, a division of ISOGEN International Corp.
2200 N. Lamar St., Suite 230, Dallas, TX 95202.  214.953.0004
www.isogen.com
</Address>
 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| RE: some basic questions, Reynolds, Gregg | Thread | Re: some basic questions, Chris Maden | 
| Re: inline space, Russell Steven Shawn | Date | Re: some basic questions, Chris Maden | 
| Month |