Daniel O'Donnell wrote:
>I wonder if it would it be worthwhile (or possible) to design a
>'tei-lite' that incorporated what we for want of a better word might
>call the necessary html "operational" tags like <img> in anotherwise tei
>tagset. Perhaps better described as "tei-hybrid" this set would allow
>users to code directly for browsers and CSS style.
>
>
It's an interesting idea, but I am not convinced it would work in practice.
Have you tested it? that is, if you do
<TEI>
...
<img src="foo">
</TEI>
and render that directly with CSS, does the <img> get recognised?
if so, you could have a TEI extension which renamed "<graphic>" to "<img>"
and url= to src= (note, <graphic> is a new in P5)
The same applies to links, of course.
Expressing the thing as a TEI extension would make you
a team player.
I confess I have my doubts, though. XML to HTML is so
cheap and easy to do on the fly, and gives you
so much more power (eg to put in metadata, Javascript,
add a table of contents, menu bar, breadcrumb trails, etc etc)
that the "here's some XML, show me it" seems a little crude.
--
Sebastian Rahtz
Information Manager, Oxford University Computing Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431
OSS Watch: JISC Open Source Advisory Service
http://www.oss-watch.ac.uk
|