[tei-council] http://purl.org/tei/fr/3519866 (@rend datatype)
Martin Holmes
mholmes at uvic.ca
Thu Jul 5 14:17:57 EDT 2012
Hi Sebastian,
On 12-07-05 10:14 AM, Sebastian Rahtz wrote:
>
> On 5 Jul 2012, at 18:09, Martin Holmes wrote:
>> That's up to the project, surely.
>
> isn't that sort of approach just Back to the Bad Old Days? if we're going to revisit @rend, lets
> take the chance to set some better standards on interoperability and a start on a
> proper processing model.
But I'm not suggesting that we revisit @rend. I've been proposing that
we add @style instead.
>> I'd be inclined to say that if @style is present, then ignore @rend, but you could also combine the two. Redundancy in an HTML @style attribute is ignored, isn't it?
>
>
> so if you met
>
> <p rend="bold italic" style="font-weight:normal">
>
> you'd ignore the italic?
No, I didn't explain that very well. I meant that if you had this (IMHO
silly, but possible) encoding:
<p rend="italic" style="font-style: italic">
and your XSL rules translated @rend="italic" to font-style: italic, then
you'd have this output:
<p style="font-style: italic; font-style: italic;">
and I think such redundancy would be ignored by an HTML user-agent.
But the other option would be to say that if @style is there, ignore @rend.
Cheers,
Martin
> --
> Sebastian Rahtz
> Head of Information and Support Group
> Oxford University Computing Services
> 13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431
>
>
>
>
>
>
>
--
Martin Holmes
University of Victoria Humanities Computing and Media Centre
(mholmes at uvic.ca)
More information about the tei-council
mailing list