Re: [xsl] Extracting text between nodes

Subject: Re: [xsl] Extracting text between nodes
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: Thu, 14 Feb 2008 18:11:07 +0000
>>>>> "Mukul" == Mukul Gandhi <gandhi.mukul@xxxxxxxxx> writes:

    Mukul> On Thu, Feb 14, 2008 at 10:44 PM, Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> wrote:
    >> > > <xsl:template
    >> match="td/font/a[not(following-sibling::node()]" > >
    >> priority="1002"/>
    >> >
    >> >This priority number caught my attention :)
    >> 
    >> Blame David for that one. (I'm sure he has a reason.)

    Mukul> Sorry, I missed the priority no's in David's post. I would
    Mukul> guess, David choose an arbitrary large number. My mind
    Mukul> would have thought a number like, 10.

Why 10 rather than 1, or 271000000.0057683456127458945386235?

Priorities greater than 0.5 are all essentially arbitrary. That is,
the absolute magnitude is not important - only whether it is bigger
or smaller than others.

So 1002 is a guess that no other priorities are defined bigger than
this for any pattern that might match the nodes concerned. or if they
are, then they are more important.

Since you would have picked 10, David has out-guessed you. :-)
-- 
Colin Adams
Preston Lancashire

Current Thread