On 5/10/06, Lars Geldner <[EMAIL PROTECTED]> wrote:
my publication pages are containing "static content", e.g. the menu,
generated with XSLT stylesheets and "dynamic content" thats within the
different XML documents of the publication. The dynamic content is included
in the XSLT stylesheet page2xhtml.xsl using the line
<xsl:apply-templates select="xhtml:[EMAIL PROTECTED] = 'body']"/>.
My question is: Is Lenya providing some prepared functions (usecases??) for
printing the dynamic content/XML documents? Or do I have to write an XSL-FO
stylesheet for generating PDF based on the XML documents on my own?
Disclaimer: I work with Lenya 1.2.2, and there may be better methods
with later versions.
If you want PDFs, you need additional code, but the link below may
still be useful reading.
If you want HTML without the navigation, there are several
possibilities. Add a pipeline that does not aggregate the Navigation
Elements. If they do not exist in the XML, they will not be added to
the HTML in the "page2xhtml.xsl" transformation. "page2xhtml.xsl"
usually adds static headers and footers that are not wanted for the
"printable" version.
It may be better to create a new stylesheet for the "printable"
version. The "printable" version just contains the Body (and maybe
the Title and Author), and a "Back" link to return to the regular
website.
Check out "Using Multiple Stylesheets for the Same Content":
http://solprovider.com/lenya/multiple
solprovider
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]