[tei-council] Today's little puzzle

Sebastian Rahtz sebastian.rahtz at it.ox.ac.uk
Thu Apr 25 04:06:03 EDT 2013


On 25 Apr 2013, at 01:34, Martin Holmes <mholmes at uvic.ca> wrote:

> I think there may be a little flaw in yore cunning plan.
> 
> The stuff that I'm doing involves counting (for instance) the <elementSpec>s to find out how many elements there are. However, if I do this at the same time as expand.xsl is doing the XIncludes, I won't find any <elementSpec>s, because they don't get included until after the XIncludes get processed.


no problemo.

i have redone the expand.xsl to have 2 passes. it does the xinclude on pass 1, then you can do the PIs on pass 2. adds a few more seconds,
but not noticeable
--
Sebastian Rahtz      
Director (Research) of Academic IT
University of Oxford IT Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431



More information about the tei-council mailing list