[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XSLT Recursive Templates

Subject: RE: XSLT Recursive Templates
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Fri, 27 Jun 2003 09:54:07 +0100
xslt recursive include
> Hi,
> Since XSLT doesn't have a replace function, most programmers 
> tend to use recursive template to perform the replace task.
> 
> This templates have been proven to really slow down applications.
> 
> For example when formatting text to include paragraphs, we 
> found the better option to be:


Better that what, pray? I find it very hard to imagine any recursive
template that a rational person would write to produce the same trivial
output as your code below.

Michael Kay


> 
> <><><><><><><><><><><><<><><><><><><><><><><><<><><><><><><><>
> <><><><<><><><
> ><><>
> <textarea class="textFormat" readonly="true">
> 	<xsl:value-of select="d"/>
> </textarea>
> 
> .textFormat {
> 	width: 100%;
> 	height: 100%;
> 	font-family: Arial, sans serif;
> 	font-size: 8pt;
> 	background-color:
> 	transparent; color: #000000;
> 	border: 0px;
> 	overflow: visible;
> } 
> <><><><><><><><><><><><<><><><><><><><><><><><<><><><><><><><>
> <><><><<><><><
> ><><>
> 
> As oppose to using a recursive template.
> 
> Use them as a last result.
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.