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

Re: Comparing node for identity using union

Subject: Re: Comparing node for identity using union
From: António Mota <amsmota@xxxxxxxxx>
Date: Tue, 18 Jan 2005 19:46:05 +0000
Re:  Comparing node for identity using union
You're saying that just for a question of readabilty or clarity,
right? However, i saw in many beginner tutorials the explanation of
such xpaths and their abbreviations, so i think that's one of the
things one first learn.

Neverthless the result is the same...


On Tue, 18 Jan 2005 13:57:04 -0500, Wendell Piez
<wapiez@xxxxxxxxxxxxxxxx> wrote:
> 
> Not just because I guess it to be less bug-prone, but also because I think
> it's more intuitively obvious, I have started using
> 
> /descendant::Menu[$pos]
> 
> as an alternative to the above.
> 
> A lot of XSLT code ends up getting thrown at newcomers to maintain these
> days. Part of my job is to make my code as clear as I can to people
> starting with the language. It's a design, er, "wrinkle" that //node[$pos]
> doesn't return what people guess it should (expect in buggy systems),
> before they learn the gory details of the XPath productions -- and that
> includes implementers. (I know this isn't the bug you found, but it's
> nearby isn't it?)
> 
> 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-2013 All Rights Reserved.