xsl-list
[Top] [All Lists]

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

2005-01-20 14:13:34
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[(_at_)version1 ='true']"

(Sorry, I couldn't resist.)

Cheers,
Wendell



======================================================================
Wendell Piez                            
mailto:wapiez(_at_)mulberrytech(_dot_)com
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
======================================================================


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--