[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] function last() not matching the last element tag
Subject: Re: [xsl] function last() not matching the last element tag From: "James A. Robinson" <jim.robinson@xxxxxxxxxxxx> Date: Fri, 26 Jan 2007 09:11:00 -0800 |
> for the last p there are two (or three) matching templates of the same > priority this is an error the processor may stop or it may recover > by doing the last one in the styesheet. You need to put (different) > priorities greter than 0.5 on your [1] and [last()] cases. > > (actually this doesn''t account for the output you got, if your real > example has the last() template last, but it's true anyway) Oh, yes, I saw that when I was using Saxon (which helpfully points it out to those of us who fail to remember this detail too often!), it seems it isn't necessarily the problem in this particular case, as xsltproc gives the same results even when the priorites are boosted. Jim. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - James A. Robinson jim.robinson@xxxxxxxxxxxx Stanford University HighWire Press http://highwire.stanford.edu/ +1 650 7237294 (Work) +1 650 7259335 (Fax)
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] function last() not match, James A. Robinson | Thread | RE: Re: [xsl] function last() not m, cknell |
Re: [xsl] function last() not match, James A. Robinson | Date | Re: [xsl] function last() not match, David Carlisle |
Month |