RE: [xsl] How to prevent that XML attributes ares

Subject: RE: [xsl] How to prevent that XML attributes ares
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Thu, 23 Feb 2006 12:49:06 -0500
At 04:49 AM 2/23/2006, you wrote:

What about this ?
It seems to work fine.

<xsl:template match="jasperReport/@isFloatColumnFooter | jasperReport/@isIgnorePagination | image/@isLazy">
<xsl:if test=". != 'false'">

Yes, that's okay too (just a bit longer).

The more concise version shows how template matches are, in effect, conditionals in disguise.


====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. 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