RE: Re: [xsl] how to translate XML with XHTML-formatted element to FO

Subject: RE: Re: [xsl] how to translate XML with XHTML-formatted element to FO
From: cknell@xxxxxxxxxx
Date: Thu, 14 Apr 2005 10:44:10 -0400
In the words of <american-pop-culture-reference:Saturday-Night-Live-from-the-1970s>Emily Letella, "Oh. That's very different. Never mind."</american-pop-culture-reference:Saturday-Night-Live-from-the-1970s>
-- 
Charles Knell
cknell@xxxxxxxxxx - email



-----Original Message-----
From:     David Carlisle <davidc@xxxxxxxxx>
Sent:     Thu, 14 Apr 2005 15:31:16 +0100
To:       xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  Re: [xsl] how to translate XML with XHTML-formatted element to FO



> I remain puzzled over the idea that there are "escaped" HTML tags in
> your input XML file. They appear as ordinary HTML tags in my email. 

You are using an email program with unfortunate properties.

the email the original poster sent out contained:

{TITLE>@lt;b@gt;Donald Duck - @lt;i@gt;The True Story@lt;/i@gt;
@lt;/b@gt;{/TITLE>
  {/BOOK>

except I have changed every < to { and every & to @ so that
over eager mail readers do not decide they know best and
think that because the content looked like html it _was_ html even
though the mime type is explictly set to text/plain.

It is your email _reader_ that is the problem, not the mail message
itself. It's because of these broken readers that we have to keep doing
sillyness like writing character referenences as " & # 1 6 0 ; " with
extra spaces to stop them being mis-interpreted.



David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread