[tei-council] Today's little puzzle

Martin Holmes mholmes at uvic.ca
Wed Apr 24 12:38:05 EDT 2013


On 13-04-24 09:09 AM, Sebastian Rahtz wrote:
>
> On 24 Apr 2013, at 17:04, Martin Holmes <mholmes at uvic.ca>
>   wrote:
>>
>> Not quite sure I understand this. Are you suggesting that the PI be matched by a template in the XSLT for the Guidelines build, and the template be integrated into the existing stylesheets?
>
>
> yes. but to avoid duplication, I suggest we replace the line in the Makefile
>
> 	xmllint --xinclude --noxincludenode --dropdtd --noent ${DRIVER} > p5.xml
>
> (which makes a single P5 file used by all subsequent transformations) with
> a call to an XSLT transform which does the above, but also implements the PIs.
> Then we have a single file, with up to date states, for use by the TEI->XXX transforms.
>
>
> how hard is xinclude, after all, in the simple way we use it:
>
> <xsl:template math="xi:include">
> 	<xsl:copy-of select="doc(@href)/*/>
> </xsl:template>

This is intriguing, because it would mean we could also start using TEI 
Pointers if we wanted to.

But where on earth is the right place to put the template for the 
processing instruction? My heart sinks when I venture into the 
stylesheet folders...

Cheers,
Martin

> --
> Sebastian Rahtz
> Director (Research) of Academic IT
> University of Oxford IT Services
> 13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431
>
> .
>

-- 
Martin Holmes
University of Victoria Humanities Computing and Media Centre
(mholmes at uvic.ca)


More information about the tei-council mailing list