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

Re: Restrictions on pattern for the match attribute of

Subject: Re: Restrictions on pattern for the match attribute of the xsl:template element
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Tue, 10 Feb 2009 09:43:57 +0000 (GMT)
Re:  Restrictions on pattern for the match attribute of
Bruder, Christian (Pfaeffikon) wrote:

> match="Object[PropertyList/Property[Name='Property1][Value='abc']]"
> match="Object[PropertyList/Property[Name='Property1
> and Value='abc']]"

> Which one is preferred and why?

  There are the same.  Sometimes I use the former, when I see both filters as
"independent" (the second one further filters the sequence), and sometimes the
latter, when I see both comparisons as the same single logical condition.
Even if often, when a single logical condition is more complex than a single
comparison, I create a predicate function.

  But all that is subjective...

  Regards,

--
Florent Georges
http://www.fgeorges.org/
























      ____________________________________________________________________
______________________________
Ne pleurez pas si votre Webmail ferme !
Ricupirez votre historique sur Yahoo! Mail !
http://fr.docs.yahoo.com/mail/transfert_mails.html

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.