[Home] [By Thread] [By Date] [Recent Entries]
At 08:52 AM 10/06/2000 +0100, Kay Michael wrote:
> A curious thing (well, to me!)... consider this template rule: *That* is exactly what the doctor ordered. Thanks, Mike! I couldn't use a simple select="true()" because the value would be either true() or false() depending on conditions in the template rule. So I'd made what is possibly a typical procedural programmer's mistake and wrapped up the whole thing in an xsl:choose block, a la if-then-else. But Mike's solution above is much neater (in all senses of the word)... not to mention that it actually works. :) (And thanks, too, to Wendell and Evan for their characteristically clear takes on why this happens.) ========================================================== John E. Simpson | "Curiosity killed the cat, http://www.flixml.org | but for a while I was a XML Q&A: http://www.xml.com | suspect." (Steven Wright) XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



