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

Re: Porting own template language to xslt

Subject: Re: Porting own template language to xslt
From: Nils Kaiser <NilsKaiser@xxxxxx>
Date: Thu, 16 Mar 2006 13:18:19 +0100
Re:  Porting own template language to xslt
Michael Kay schrieb:
I think that using xsl:for-each is the natural way to do this.

I toyed at one time with adding a construct such as

<xsl:with select="....">

that changes the context node without any iteration semantics, but it's
functionality that for-each already provides so it just seemed like
unnecessary baggage.
Well, to me it seems obvious to use for-each when you don't want any iteration. Of course it seems logical for-each for transforming structured data to html, where you want to make sury that every matching element is transformed. In our case we extract information from xhtml... and there it does make sense to have some kind of xsl:with element in order to jump to relevant regions of the DOM.

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.