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

Re: Increment a variable

Subject: Re: Increment a variable
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Thu, 18 Aug 2005 14:55:56 -0400
Re:  Increment a variable
Dimitre,

At 04:22 AM 8/18/2005, you wrote:
>       No. I definitely had no idea of making a joke. This is based on some
> code that DC wrote for me and other on this list  and a lengthy discussion
> that was started by James Fuller on using the namespace URI as a real
> location of some resource.

I know the idea, which is called the Piez method.

*Some* of us call it the "Piez method"... :->


Others of us call it "the ugly hack once suggested by Wendell as a workaround to avoid having to code a recursion, as if that were so hard". (But as the European Editor of the TEI once said in another forum, there are those who love recursion, and those who find it terrifying.)

Oh well: that's the risk you run when you suggest tricky ways of accomplishing things, I guess. It'll serve me right if in another five years, people who learned the "Piez method" in school are still using it in their XSLT 2.0, where there's no excuse for it at all. I'll probably be the one that has to fix their code.

So then, Mike writes

This is "trick programming", some would say it's a dirty trick, and it's a
matter of personal taste whether you use it.

... and I hasten to add "some, including some (one) who thought of 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.