﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc
144,Using ${select(...)} syntax where text isn't allowed breaks templates XML compliance,michael@…,cmlenz,"This template is invalid XHTML:
{{{
#!genshi
<head>
  ${select(""*[local-name()!='title']"")}
</head>
}}}

Because text data isn't allowed directly inside <head>.

So I have to use something like this to keep my template valid XHTML:

{{{
#!genshi
<head>
  <meta py:replace=""select('*[local-name()!=\'title\']')"" />
</head>
}}}

A special element would be nice as using <meta> or another arbitrary tag is confusing.  Perhaps allowing py:replace to be used as an element such as:

{{{
#!genshi
<head>
  <py:replace>select(""*[local-name()!='title']"")</py:replace>
</head>
}}}

This would have the pleasant side effect of not forcing me to escape the quotes around `title`.",enhancement,closed,minor,0.5,Template processing,0.4.3,fixed,,
