RE: [xsl] Test a node set based on an attribute that will match a variable

Subject: RE: [xsl] Test a node set based on an attribute that will match a variable
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Thu, 20 Jan 2005 16:13:34 -0500
At 03:01 PM 1/20/2005, was written:
<xsl:template
match="spec_off/offer[./@*[local-name()='version1']='true']">...</xsl:template>

If you're doing this, you might as well do


match="spec_off/offer[@version1 ='true']"

(Sorry, I couldn't resist.)

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