On 7 Sep 2010, at 19:45, Kevin Hawkins wrote:
> I would like to write a stylesheet for converting XML produced by
> AccessTEI ( http://accesstei.apexcovantage.com/ ) into more standard TEI
> for further processing and donate this stylesheet to the TEI wiki (
> http://wiki.tei-c.org/ ) for community use and modification.
Such a mapping was foreseen early on in the development of Tite,
and is managed within the ODD file which defines TEI Tite. For
<elementSpec ident="b" mode="add" ns="http://www.tei-c.org/ns/tite/1.0">
<equiv filter="tite-acdc.xsl" mimeType="text/xsl" name="b"/>
this says that the element <b> can be mapped to TEI by running
the template called "b" in "tite-acdc.xsl".
If one runs the script "make-acdc.xsl" on "tei_tite.odd", it creates
a transformation script which you can run on an instance document.
Not tested on real-life AccessTEI files, but I see no reason to think
it won't work. I strongly encourage you to test and develop
HOWEVER, remember that an AccessTEI file has no metadata, so you'll
always need to write your own <teiHeader> provider from some other
source. Writing a completely generic converter will always be
problematic for that reason.
Information Manager, Oxford University Computing Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431
Sólo le pido a Dios
que el futuro no me sea indiferente