[tei-council] xml:space
Sebastian Rahtz
sebastian.rahtz at oucs.ox.ac.uk
Wed Feb 10 08:44:28 EST 2010
for those what want to see the effect, consider this:
<text xmlns="http://www.tei-c.org/ns/1.0">
<div>
<ab>Ave Mar<lb/>ia Im<ex>p</ex><supplied>eratrix</supplied> Coeli</ab>
</div>
<div xml:space="preserve">
<ab>Ave Mar<lb/>ia Im<ex>p</ex><supplied>eratrix</supplied> Coeli</ab>
</div>
</text>
when processed by an XSLT identity transform using Saxon
you get
<text xmlns="http://www.tei-c.org/ns/1.0">
<div>
<ab>Ave Mar<lb/>ia Im<ex>p</ex>
<supplied>eratrix</supplied> Coeli</ab>
</div>
<div xml:space="preserve">
<ab>Ave Mar<lb/>ia Im<ex>p</ex><supplied>eratrix</supplied> Coeli</ab>
</div>
</text>
notice the spurious newline introduced between </ex> and <supplied>
in stanza 1
--
Sebastian Rahtz
(acting) Information and Support Group 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
More information about the tei-council
mailing list