xsl-list
[Top] [All Lists]

Re: [xsl] In the field of programming, where does xsl:apply-templates reside?

2010-05-08 10:07:41
On Sat, May 8, 2010 at 5:18 PM, Costello, Roger L. 
<costello(_at_)mitre(_dot_)org> wrote:
For example, if you were to map an XSLT program to, say, a Java program, what 
Java construct would you map xsl:apply-templates to?

I agree with David, that "template is a function and apply templates
is function application". By 'function application', I think, David
means a "function call" ...

Perhaps asking how an XSLT construct maps to a Java construct is wrong, since 
XSLT is a > rule-based language and Java is not. Do you agree?

The 'programming abstractions' (which is something like a "rule based"
programming system) that XSLT provides to a 'XSLT programmer', are
different in nature, than 'programming abstractions' (which is an
object oriented, imperative programming system) provided by Java, to a
'Java programmer'.



-- 
Regards,
Mukul Gandhi

--~------------------------------------------------------------------
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>