Re: [xsl] Embedded bold,italic,anchors etc.

Subject: Re: [xsl] Embedded bold,italic,anchors etc.
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Wed, 11 Jun 2008 12:01:25 -0400
Craig,

At 11:10 AM 6/11/2008, you wrote:
From what I have read I was probably using the value-of instead of
the recursive technique somebody suggested. For what it's worth this
is the code I have to date, I'm sure there's tons of things wrong with
it but that's part of learning! I can already see I'm not using
templates nowhere near enough! :(

If it's any comfort, this is the thing that generally requires the most getting-used-to from beginners. Experts argue about why this is. But there is agreement that when possible, many small templates are greatly preferable than few larger templates, for a number of reasons both subtle and not-so-subtle. In particular, the "recursive descent" processing model allows the complexity of your code to be reduced exponentially in cases where your input structures are not perfectly regular, which is often the case with XML data.


The recursive technique is bread and butter for XSLT. We live by it. Those who don't like it or have no use for it should probably be doing XQuery or something else altogether.

Cheers,
Wendell



======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================

Current Thread