On Tue, Jun 19, 2001 at 08:08:50PM +1000, Ian Brayshaw wrote:
> I am finding XSLT & XML to be a good alternative to normal templating 
> techniques. One of the biggest benifits I've found is being able to generate 
> the one data set and have it rendered in different ways for different 
> applications. I presume this is possible in TT2. H::T has the drawback of 
> only allowing substitutions for tags defined in the template. Changing the 
> template to render say a reduced set of data typically involves changing 
> code.
> 
> I'm also free to choose my transformation platform, using something like 
> XML::LibXML or Saxon on the server side, or just throwing it straight to the 
> user and letting their browser take care of the rest.

Having spent last weekend playing with XSLT and XPath, I've come to
similiar conclusions.  At the very least, XSLT is entertaining.  But
what really blew me away was how easy XPath is for grabbing random bits
of your XML for use elsewhere.  Whoever compared it to regular
expressions for XML wasn't far off the mark.

Combined with psgml-mode in emacs, to create xhtml files, it's a rather
nice authoring solution.

> Don't think DW jockeys will like the XSLT, but I'm fortunate in not having 
> to deal with them.

You'd be surprised how many people are willing to learn something when
it's got microsoft attached to it and big whopping books from que.

-Dom

-- 
| Semantico: creators of major online resources          |
|       URL: http://www.semantico.com/                   |
|       Tel: +44 (1273) 722222                           |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |

Reply via email to