xsl-list
[Top] [All Lists]

Re: [xsl] [xslt 2.0] Local functions

2007-07-19 02:11:09
On 7/19/07, Justin Johansson <procode(_at_)tpg(_dot_)com(_dot_)au> wrote:
I'm presuming that many would agree that a programming language
based upon an XML syntax is not pretty.  However we all put up with
XSLT because at the end of the day it does a damm good job with text
processing despite the tedium.

I think it's actually one of XSLT's biggest strengths that it's syntax
is XML - the output markup sits easily in the code, nicely indented,
easy to read - looks pretty.

Do a similar bit of work with XQuery and your indentation starts
becoming difficult - that's why there's a common extension to
transform result tuples with XSLT.  Also, there's an XML syntax for
JSP because it's just much better to work with when generating markup
output.

No tedium either - unless you mean literally text processing in XSLT
1.0 using recursive templates - which is tiresome now because we know
how easy it is in 2.0 and going back feels such an effort...?

--
http://andrewjwelch.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>