Hi.
    I have an application which uses TT to output web pages based on
rows in a database table. The usual thing. One of the columns in the table is
actually a chunk of XML data. I don't really want to scrub around the XML DOM
trying to get it into HTML myself; I'd rather throw a bit of XSL at it and
have a scrap of HTML I can inject into the output, something like:

    <h2> Directions </h2>
    [% recipe.xml | xslt("foo.xsl") %]

    This would call for an XSLT plugin, but there doesn't seem to be one.
Should I write one?

Simon
-- 
I'm surrounded by electromagnetic radiation all the time. There are radio
stations broadcasting at lots of kW, other people using phones, the police, 
[...] the X-rays coming from my monitor, and God help us, the sun. I figure 
I have better things to worry about than getting cancer from the three or 
four minutes a day I spend on my cell phone. - Dave Brown.

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to