Re: [xsl] Rescuing XSLT from Niche Status

Subject: Re: [xsl] Rescuing XSLT from Niche Status
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 16 Feb 2001 21:09:22 GMT
> Agreed, this is just the pull method, but all too often I see this method
> being dissed in favor of the more powerful push.

Probably. I suppose I'm as guilty as any there. While I sometimes use
that sort of technique while answering questions on this list, I don't
think there's a single occasion when I'd ever have wanted to do that
to process one of my own documents.

I can see it's useful if pulling bits of data out of databases etc
(which is one main use of the ASP on the web pages here, as a matter
of fact) Where almost the entire page is static and you just want to
"fill in the blanks".

But if you are converting a document format of any complexity down to
HTML (for example) the template rule driven approach is far more natural
and easier to code in XSLT as the output is driven by the input, you
don't need to sketch out the entire format of the document; If you come
across a list in the input, convert it to an HTML list, and carry on
etc..

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread