[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSLT Recursive Templates
> 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: > > <><><><><><><><><><><><<><><><><><><><><><><><<><><><><><><><><><><><<><><>< > ><><> > <textarea class="textFormat" readonly="true"> > <xsl:value-of select="d"/> > </textarea> > > ... > As oppose to using a recursive template. Sorry, but what point are you trying to make here? Your template just puts out the string value of an unspecified "d" element into an textarea element. Why would anyone use a recursive template for that? What would you recurse on? What has this to do with text replace functions? Also, the XSL list guidelines clearly ask you not to CC other lists in the same post so I removed thelist@xxxxxxxxxxxxxxx in this reply. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|