This question should perhaps be asked elsewhere - but I think
it might be of interest to other TEIers.
I intend to put some raw TEI/XML texts on-line to be browsed
with MS IE. I am now struggling with XSLT stylesheets and
encountered a problem of a single white space (ie. just a space)
between two elements. For example:
<p>
Colonel
<persName>
<foreName>John</foreName> <surname>Smith</surname>
</persName>
was born in 1875.
</p>
is displayed as:
Colonel JohnSmith was born in 1875.
ie. with all spaces normalized except for the one which is
the only character between two elements - with no textual data
there.
When the same fragment is transformed with Saxon, that space
is preserved.
Is there any easy way to achieve the desired effect in MS IE
without changing the source?
It can be done inserting the space *inside* one element:
<foreName>John </foreName><surname>Smith</surname>
but I don't like this solution as intuitively the space
does not belong in either of the two elements.
Best regards,
Rafal
|