I've been playing with the flying saucer R8 and tried to hide header and footer from the front page of my PDF.
I followed that hint tried to follow the W3C specifications for the content: element() (W3C running elements) in my print.css. It is described that the following should solve my problem:
@page { @top-center { content: element(header, first-except) }}
But it seems that this is not yet implemented in R8. So I tried the approach above with the set-string method.
#header { set-string: header content() }
@page { @top-center { content: string(header, first-except) }}
But nothing gets rendered, content: string() seems to be broken, since whatever I put in there will not be rendered:
@page { @top-center { content: "foo" string(header, first-except) }} /*broken*/
@page { @top-center { content: "foo" string(header) }} /*broken*/
@page { @top-center { content: "foo" }} /*works!*/
So has anyone an idea how to get this working?