Re: XPath & CSS, again

On Tue, 12 Apr 2005 11:03:13 +0200, Pascal Schmitt <pascal@cebra.nu> wrote:

> Oh, I meant using XPath-Expressions for the "content" property, like  
> this:
>
> table::after {
>    content: xpath("count(tbody/tr)") " lines";
> }

table {counter-reset: rows;}
tbody tr {counter-increment: rows;}
table:after {content: counter(rows) "lines"}

(works in Opera)

Unless I missed something (I don't know XPath much)

-- 
Lauri Raittila <http://www.iki.fi/lr>
@Utrecht, NL

Received on Friday, 15 April 2005 06:25:28 UTC