> Awesome, that worked well. Thanks! I was thinking of something along > these lines, but I assumed in the child replace that "item" would refer > to the <meta> element, not the <head> as it appears to do so above. How > exactly does this work?
See http://kid-templating.org/language.html#match-templates-py-match Since your match expression is py:match="item.tag == 'head', you will get the head element. > Also, out of curiosity, has there been any discussion about providing a > few optional element equivalents for some of the kid attributes so there > aren't random elements being added just to allow an attribute to be > specified, as has been done above? This may spare a few keystrokes, but it is also confusing. Also, your template will not be valid XHTML any more, which is one of the main advantages of a tag *attribute* language such as Kid. -- Chris ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ kid-template-discuss mailing list kid-template-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kid-template-discuss