xsl-list
[Top] [All Lists]

Re: [xsl] preceding axis is too permissive for my stylesheet

2008-06-01 09:09:52

Er, thought was meant to be "might be one way to get the counts you want".
I'll go find some coffee now...

On Sun, 01 Jun 2008 09:06:36 -0700 I wrote:
< 
< If I understand what you're asking for, the ancestor axis paired with the
< '<<' comparision operator might be one what do get the counts you want:
< 
<   ancestor::*/ptr
<     [matches(@target, '([a-z]{3})\.([0-9]+)\.([0-9s]+)\.([0-9]+)fm')]
<     [. &lt;&lt; current()]

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
James A. Robinson                       
jim(_dot_)robinson(_at_)stanford(_dot_)edu
Stanford University HighWire Press      http://highwire.stanford.edu/
+1 650 7237294 (Work)                   +1 650 7259335 (Fax)

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

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