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

Re: A question of style

Subject: Re: A question of style
From: Lars Huttar <lars_huttar@xxxxxxx>
Date: Wed, 07 Jul 2010 21:39:34 -0500
Re:  A question of style
On 7/7/2010 5:54 PM, Dimitre Novatchev wrote:
> I definitely prefer using the concat() function than a sequence of
> alternating <xsl:text> and <xsl:value-of>.
>
> concat() is more or less the equivalent of prinf() in C or
> string.format() in C#. We don't have control characters like \n or \t,
> but this can easily be circumvented by using either variables (in XSLT
> 1.0) or character-maps in XSLT 2.0.
>
> =================
>
> *Even better*, one can use a separate "fill-in the blanks" XML
> document in which only specific elements need to be transformed into
> result values.
>
> This is a good technique which completely separates presentation from
> processing and allows that different "layouts" be filled-in by
> different transformations or the results of the same transformation be
> presented in different layouts.
>
> I believe this is probably one of the most important piece of
> knowledge that I have shared with our fellows XSLT developers in the
> course of many years.
>   

Dmitri,
I could only partly understand what you're describing. Have you written
an article on it somewhere that you could link to? with examples?

Thanks,
Lars

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.