xsl-list
[Top] [All Lists]

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

2010-05-09 03:58:41

Date: Sat, 8 May 2010 07:48:25 -0400
From: "Costello, Roger L."<costello(_at_)mitre(_dot_)org>
[...]
Where does xsl:apply-templates reside within the field of programming?

I think that the closest analogy is a map in Prolog where templates
are considered Horn clauses of a single binary relation "template":

template(...,...) :- ... .  % One for each xsl:template
...

apply_template([],[]).
apply_template([X|P],[Y|Q]) :- template(X,Y), apply_template(P,Q).

Best regards,


Christian

--~------------------------------------------------------------------
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>
  • [xsl] Re: In the field of programming, where does xsl:apply-templates reside?, Christian Rinderknecht <=