[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] [XSLT 1.0] Q: recursively eliminate empty nodes


Subject: Re: [xsl] [XSLT 1.0] Q: recursively eliminate empty nodes
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Fri, 12 Nov 2010 12:54:27 -0500

Hi,

At 09:40 PM 11/11/2010, you wrote:
On 11/10/10 1:16 AM, Michael Kay wrote:

Priority +0.5 is used for everything else: typically, but not exclusively, when the pattern includes filters or constraints on the node's ancestory.
A rule I find easy to remember is that a pattern has the highest default priority (0.5) if and only if it contains a "/", "//", or "[..]"

Hm. So does it have the lowest if and only if it doesn't have any of these, or ":" (indicating a namespace prefix), but it does have "*" or "()"? (indicating a wildcard or kind test?)


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
Keywords
xml