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

Re: Best way of testing Hexadecimal value [xslt 1.0]

Subject: Re: Best way of testing Hexadecimal value [xslt 1.0]
From: Mukul Gandhi <gandhi.mukul@xxxxxxxxx>
Date: Fri, 27 Aug 2010 11:57:24 +0530
Re:  Best way of testing Hexadecimal value [xslt 1.0]
in the code fragment I posted, I would propose the following change,

you may use:

<xsl:value-of select="false()" /> &
<xsl:value-of select="true()" />

instead of
<xsl:value-of select="'false'" />
<xsl:value-of select="'true'" />

This didn't struck me earlier :)

Regarding XSLT 2.0 vs 1.0, IMHO I would say the 2.0 version is much
better by design and increases programmer productivity considerably.

Here's a little anecdotal evidence:

I like this style of writing in 2.0

<xsl:variable name="x" select="fn:findSomething()" />

over

<xsl:variable name="x">
    <xsl:call-template name="findSomething" />
</xsl:variable>

in 1.0

On Fri, Aug 27, 2010 at 8:31 AM,  <pankaj.c@xxxxxxxxxxxxxxxxxx> wrote:
> Yet another fine sample.
>
>>If you can, I encourage to move to a 2.0 environment (unless you are
>>programming for a browser) :)
>
> I personally always use and prefer 2.0 but for this particular case I've
> been asked to use 1.0. Some people still prefer old technologies over
> latest ones :-)
>
>
> Thanks anyway.
>
> Pankaj



-- 
Regards,
Mukul Gandhi

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.