Subject: Re: [xsl] watermarking PDF|
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 30 Nov 2011 13:06:20 -0500
4.9.6 Layering and Conflict of Marks http://www.w3.org/TR/2006/REC-xsl11-20061205/#rend-layer If A and B have the same stacking layer and neither is an ancestor of the other, then it is an error if either their backgrounds conflict or if a non-background mark of A conflicts with a non-background mark of B.
At 2011-11-30 17:51 +0100, Geert Bormans wrote:I was thinking about SVG after I saw the watermarking example of Antenna House
I am curious to how I could manage the SVG inline in the stylesheet, can you give a example please?
It cannot be done inline unless you use the overlapping regions. The region background is an attribute, not a formatting object.
The example below happens to look good in Antenna House.
I hope this helps.
. . . . . . . . . . Ken
p.s. I created the SVG using the free Inkscape tool, saving as SVG, and hacking the resulting XML to be the minimum subset I need without the baggage Inkscape uses for going full circle saving and reopening the file
-- Contact us for world-wide XML consulting and instructor-led training Free 5-hour video lecture: XSLT/XPath 1.0 & 2.0 http://ude.my/t37DVX Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Google+ profile: https://plus.google.com/116832879756988317389/about Legal business disclaimers: http://www.CraneSoftwrights.com/legal