[Petal] [REQ] Escape HTML entities

Chris Croome chris at webarchitects.co.uk
Mon Aug 18 14:47:27 BST 2003


Hi

On Mon 18-Aug-2003 at 01:01:29PM +0100, Steve Purkis wrote:
> 
> So my question is this: is it feasible for Petal to escape XHTML 
> entities so that they pass through to the delivered document as-is?

Ideally Petal would look at the namespace of a file and if the XHTML
namespace is found then it would accept XHTML named entities [1].

This _could_ be done using a doctype but this wouldn't work for
fragments like the attached one.

Chris


[1] http://www.w3.org/TR/xhtml-modularization/dtd_module_defs.html#a_xhtml_character_entities

-- 
Chris Croome                               <chris at webarchitects.co.uk>
web design                             http://www.webarchitects.co.uk/ 
web content management                               http://mkdoc.com/   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.webarch.co.uk/pipermail/petal/attachments/20030818/01c0ee95/petal.example.html


More information about the Petal mailing list