Re: What are the useful functions for accessing the area tree?

On Tue, February 25, 2014 9:49 am, Tony Graham wrote:
> On Mon, February 24, 2014 3:38 pm, Tony Graham wrote:
>> If you look at the current 'ppl-extensions.xsl' [1], you'll see that the
>> only current helper functions for accessing the area tree are
>> ppl:block-by-id() and ppl:block-bpd() which, by some coincidence, were
>> all
>> that were needed to do the current examples.
>
> I lie.  I'd forgotten that I hadn't updated the example 3 [3][4] or
> example 4 [5] stylesheets, which both do things with ipd.
>
> Now looking for someone to update them and ppl-extensions.xsl to use a
> helper function for finding ipd (and whatever else is needed to properly
> shield the stylesheet writer).

Added 'ppl:block-ipd()' and 'ppl:block-available-ipd()' in support of
example 3.

'ppl:block-available-ipd()' probably isn't the best name for a function
that finds the IPD of the block's reference area, and maybe it should be
ppl:block-reference-area-ipd(), if that's not too much of a mouthful.

Regards,


Tony.

 --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  -- --
Mentea       XML, XSL-FO and XSLT consulting, training and programming

Received on Thursday, 6 March 2014 20:23:26 UTC