you don't need to convert your TEI to FOXML. You can simply add the TEI xml file as a datastream in the FOXML of your Fedora object. So you'd have something like this in your FOXML:
<foxml:datastream ID="TEI" CONTROL_GROUP="M" STATE="A">
<foxml:datastreamVersion ID="TEI.0" MIMETYPE="text/xml" LABEL="TEI Document Title">
<foxml:contentLocation REF="http://localhost/tei.xml" TYPE="URL"/>
The REF= would be a web accessible location where your tei.xml file is stored. I usually just run MAMP or XAMPP locally and point my webserver to the directory where the file is stored.
To display the TEI datastream you'd have a Fedora disseminator or some other display method for the TEI ... eg. call a process to transform the TEI to HTML, or present it in a paged viewer, etc. We work with TEI documents in Islandora - http://islandora.ca .
I could send you an FOXML file if you need one as a starting point.
Hope that helps.
Donald Moses, MLIS
Digital Initiatives and Systems Librarian
University of Prince Edward Island
550 University Ave, Charlottetown PE C1A 4P3
tel: 902-566-0479 || fax: 902-628-4305
>>> Seamus Lawless <[log in to unmask]> 6/30/2011 07:33 AM >>>
I need to import some TEI files into a digital archive that uses Fedora Commons as the base of its layered architecture. The metadata in the archive is stored using Fedora's FOXML structure and the data is fed out in a number of different formats like MODS, Dublin Core and ESE. Is anyone on the list aware of any tools or utilities for converting between TEI and FOXML (e.g. an XSLT template)?
Thanks in advance,