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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Processing fot, Daniel Speck | Thread | Re: Processing fot, Charlie & Barbara Bo |
Re: Books about DSSSL, Tony Graham | Date | Re: Processing fot, Daniel Speck |
Month |