Re: [Request for feature] Problem with ClearSilver syntax
"David Jeske" <[email protected]> Sat, 30 Aug 2008 17:26:50 -0000
| Newsgroups | gmane.text.clearsilver.general |
|---|---|
| Message-ID | <[email protected]> |
-- =?UTF-8?Q?L=C3=A9o_Gillot-Lamure?= wrote: > Oh, it seams I have been misunderstood... I don't want CS to work WITH > xml, I want it to work IN xml, transparently and without disturb it. I understand what you want to achieve, and it does seem like this may have utility in some cases. However, even with your patch a template which emits xml tags or attribute names is not valid xml. Templating the actual tags and attributes is something I've done in clearsilver. Consider that this is still not valid xml: <pwet(var:tagname) pwet(each:attr=attrs) pwet(var:attr.name)="pwet(var:xmlquote(attr.value))" pwet(/each) > However, I think your patch and approach is interesting, and probably useful in the majority of cases where the xml you are going to output is more static. Thanks for submitting it. We'll see what Brandon thinks of it.