Re: Processing fot

Subject: Re: Processing fot
From: Daniel Speck <dspeck@xxxxxxxxxxxx>
Date: Mon, 22 Jun 1998 13:24:36 -0400
Charlie Bozeman wrote:

> Question: Is it possible to generate info from a document once and then
> reference the info as you process the document?
>

In general, no, not using standard DSSSL which is side-effect free.

> When I process a flow-object-tree (from jade of course) I only want to
> process the "a" elements that are referenced by "page-number" elements
> (with the ref attribute) within the fot. Currently I do this by
> selecting
> all the "page-number" elements in the document and check if their "ref"
> attribute matches my current "a" element. As you might imagine, this is
> very time consuming.

I'm not sure what you are trying to do. It would be helpful to see the DTD,
a small sample instance and a description of the end result you are trying
to achieve (I don't know what the <a> or the <page-number> elements
represent). This sort of processing is often done using modes in DSSSL. If
you are using ID/IDREF to link elements you can use a mode together with
(process-element-with-id ...) to process a referenced element.

-dan

--
Daniel Speck                              e-mail: dspeck@xxxxxxxxxxxx
Systems Engineer                           voice:     +1 301.548.7818
Thomson Technology Services Group            fax:     +1 301.527.4094
1375 Piccard Drive, Rockville, MD 20850      WWW:    www.thomtech.com



 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • Processing fot
    • Charlie & Barbara Bozeman - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id KAA20188Sat, 20 Jun 1998 10:16:21 -0400 (EDT)
      • Graydon Hoare - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id MAA05396Mon, 22 Jun 1998 12:24:27 -0400 (EDT)
        • Charlie & Barbara Bozeman - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id VAA02260Mon, 22 Jun 1998 21:34:39 -0400 (EDT)
      • Daniel Speck - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id NAA07056Mon, 22 Jun 1998 13:31:01 -0400 (EDT) <=
        • Charlie & Barbara Bozeman - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id WAA08740Mon, 22 Jun 1998 22:21:10 -0400 (EDT)
          • Daniel Speck - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id JAA10655Tue, 23 Jun 1998 09:44:52 -0400 (EDT)
      • <Possible follow-ups>
      • Reynolds, Gregg - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id NAA06542Mon, 22 Jun 1998 13:07:00 -0400 (EDT)
        • Charlie & Barbara Bozeman - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id VAA05208Mon, 22 Jun 1998 21:49:40 -0400 (EDT)