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

Re: normalize-space and sequence

Subject: Re: normalize-space and sequence
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Fri, 28 Sep 2007 11:14:41 -0400
Re:  normalize-space and sequence
Hey Abel (especially),

At 12:23 PM 9/27/2007, I wrote:
Heck: a micropipelining approach would look something like:

<xsl:variable name="name-content">
<xsl:apply-templates select="para" mode="normalize-space"/>
</xsl:variable>
<xsl:variable name="ref-content">
<xsl:apply-templates select="following-sibling::entry[1]/para" mode="normalize-space"/>
</xsl:variable>
<entry name="{$name-content}" ref="{$ref-content}" etc... />

I was thinking about this again last night, and I take it back. I don't think this counts as micropipelining either, since the results of processing the nodes are not actually processed again. Unless the implicit cast to a string counts (and I don't think it does).


Indeed, this is a technique that's useful in XSLT 1.0 too, where restrictions on the Result Tree Fragment generally inhibit pipelining.

So far as I know, everything else I said in that post is true. :-)

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

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-2011 All Rights Reserved.