xsl-list
[Top] [All Lists]

Re: count problem

2004-01-21 14:18:20
At 05:16 AM 1/21/2004, George wrote:
count(link[(_at_)rel='alternate' and @type=following-sibling::*/@type]) = 0

Same logic, but not(link[$Georgespredicate]) will also do it (and arguably, will be more idiomatic XSLT).

Cheers,
Wendell

<oXygen/> XML Editor - http://www.oxygenxml.com/
-- nice tool, that one.



======================================================================
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



<Prev in Thread] Current Thread [Next in Thread>