Re: HTML character encoding

Posted by Hank Ratzesberger on
URL: https://discuss.orbeon.com/HTML-character-encoding-tp33897p33907.html


I put the doctype at the top of an xhtml view view.  
It was a template created in Dreamweaver which some
people use around here.

The views have the xsl="2.0" attribute.  I don't
recall ever having a problem using xslt.

The attaches is the home page to :

http://nees.ucsb.edu/

It has the © entitity, e.g.

There's no xforms on this page, I can send an
example of that if you wish, but basically,
I haven't had a problem with entities using
this format.  But I've only used the 'theme-plain'
in the epilogue.

Cheers,
Hank

<!-- home page -->
<page path-info="/"
view="oxf:/index.xhtml"
model="oxf:/default.xpl" />



----- Original Message -----
From: "Erik Bruchez" <[hidden email]>
To: <[hidden email]>
Sent: Friday, May 11, 2007 12:19 PM
Subject: Re: [ops-users] HTML character encoding


> Alessandro Vernet wrote:
>> On 5/11/07, Hank Ratzesberger <[hidden email]> wrote:
>>>
>>> I just tested this, and at least this docytpe is
>>> working for me.  I edited the standard epilogue to
>>> only use the "plain" style.
>>>
>>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>>>
>>> I tried &quot; &acute; and &cent; and &copy;
>>
>> This is a nice trick. Maybe we should consider adding this to the
>> standard epilogue. Erik, any opinion on this?
>
> Hank, where do you put the DOCTYPE, and where do you use the entities?
> In the view or in the epilogue?
>
> -Erik
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
>
>


>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

default.xpl (820 bytes) Download Attachment
index.xhtml (10K) Download Attachment