RE: some basic questions

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
  • some basic questions
    • Jason Williams - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id RAA26234Thu, 9 Apr 1998 17:10:29 -0400 (EDT)
      • Daniel Speck - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id KAA11225Fri, 10 Apr 1998 10:07:16 -0400 (EDT)
      • <Possible follow-ups>
      • Reynolds, Gregg - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id LAA12075Fri, 10 Apr 1998 11:28:43 -0400 (EDT)
      • W. Eliot Kimber - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id MAA13136Fri, 10 Apr 1998 12:46:56 -0400 (EDT) <=
        • Chris Maden - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id NAA13581Fri, 10 Apr 1998 13:11:02 -0400 (EDT)
      • Reynolds, Gregg - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id SAA17954Fri, 10 Apr 1998 18:55:23 -0400 (EDT)
        • Chris Maden - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id TAA18307Fri, 10 Apr 1998 19:28:41 -0400 (EDT)
          • Gregg Reynolds - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id JAA04988Mon, 13 Apr 1998 09:59:55 -0400 (EDT)