Carsten Fuchs wrote: > Could someone give me a hint please? Here's a complete site.html that should get you started:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://genshi.edgewall.org/" py:strip=""> <py:match path="fo...@id='attachment']/d...@class='buttons']" once="true"> <p>By submitting a file here, you accept blah blah...</p> <div py:attrs="select('@*')"> ${select('*|comment()|text()')} </div> </py:match> </html> The idea is that <py:match> matches a part of the document that is unique to that page. The content of the element replaces the matched element. The <p> adds the license paragraph. Finally, the matched element is re-constructed. Ok, the explanation probably doesn't help much :) -- Remy
signature.asc
Description: OpenPGP digital signature