[Petal] docs question?

Chris Croome chris at webarchitects.co.uk
Mon Jul 21 12:04:11 BST 2003


Hi

On Sat 19-Jul-2003 at 04:55:34PM +0100, Fergal Daly wrote:
> What would be the problem with
> 
> <title>Hello
> 	<span petal:repeat="string my_var" petal:omit-tag>
> 		: <span petal:replace="string"/>
> 	</span>
> </title>
> 
> It's a little wordy but it doesn't require any non-TAL and the XHTML is still 
> valid,

It's valid XHTML after it has been processed and valid XML before
but not valid XHTML before it has been processed because <title>
elements cannot contain other elements:

  http://www.w3.org/TR/html4/struct/global.html#edef-TITLE

Chris

-- 
Chris Croome                               <chris at webarchitects.co.uk>
web design                             http://www.webarchitects.co.uk/ 
web content management                               http://mkdoc.com/   


More information about the Petal mailing list