RE: Processing fot

Subject: RE: Processing fot
From: "Reynolds, Gregg" <greynolds@xxxxxxxxxxxxxx>
Date: Mon, 22 Jun 1998 12:04:10 -0500
> When I process a flow-object-tree 
> 
	I think you mean source grove.  About the only think you can to
with flobs is specify them and their concatenation.

> 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.
> 
	Are you using "select-elements" to do this?  It should be
reasonably fast since its a builtin, but I don't think there is any way
to avoid searching the tree each time you process an "a" element.  An
implementation might cache the results behind the scenes but I don't
know if jade does this.  You might be able to speed things up by using
an ID attribute; the sgml property set specifies an "elements" property
of the SGMLDOC node (ie the root note), which is a list of "all the
elements in the document which have unique identifiers", where the
distinquishing property is "id".  I think that this means all elements
with the "ID" attribute.  This is part of the "instabs" module, and I'm
not sure Jade implements it.  But if it does I would bet that the list
of such elements is cached internally, so "select-elements" using the id
property should be pretty fast.


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


Current Thread
  • Re: Processing fot, (continued)
      • 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)
    • 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)