I'm not sure--but you have an XSLT question, not a FOP one--and I think the Mulberry XSLT mailing list (Google for it) would be best for you.
Glen --- Sascha Teifke <[EMAIL PROTECTED]> wrote: > Hi Glen, > > thank you for the quick response. > > I removed it. But it still doesn't work. > > Her is an example xml file created by lenya. > > <?xml version="1.0" encoding="UTF-8"?><html > xmlns="http://www.w3.org/1999/xhtml" > xmlns:dc="http://purl.org/dc/elements/1.1/" > xmlns:dcterms="http://purl.org/dc/terms/" > xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0" > > xmlns:xhtml="http://www.w3.org/1999/xhtml" > dc:dummy="FIXME:keepNamespace" > dcterms:dummy="FIXME:keepNamespace" > lenya:dummy="FIXME:keepNamespace" > xhtml:dummy="FIXME:keepNamespace"> > <lenya:meta> > <dc:title>dctitle</dc:title> > <dc:creator>Sascha Teifke</dc:creator> > <dc:subject>dcsubject</dc:subject> > <dc:description>Abstract that can be used on > an overview > page</dc:description> > <dc:publisher/> > <dc:contributor/> > <dc:date>Sun Mar 06 16:40:36 CET > 2005</dc:date> > <dc:type/> > <dc:format/> > <dc:identifier/> > <dc:source/> > <dc:language>de</dc:language> > <dc:relation/> > <dc:coverage/> > <dc:rights>dcrights</dc:rights> > </lenya:meta> > <head> > <title>Default Publication</title> > </head> > <body> > <h1>Grundlagen</h1> > <p>In dieser Rubrik erfahren Sie einiges über > die <a > href="/mediengestaltung/authoring/basics/history_de.html" > > title="">Historie </a>des PDF-Formates, sowie <a > href="/mediengestaltung/authoring/basics/application_de.html" > > title="">Einsatzgebiete</a> und die <a > href="/mediengestaltung/authoring/basics/software_de.html" > > title="">Software</a>, die man zur Erstellung > benötigt.</p></body> > </html> > > Glen Mazza wrote: > > >Remove the template below from your XSLT, and that > >should work. > > > > <xsl:template match="meta"> > > <fo:block color="green"> > > <xsl:apply-templates/> > > </fo:block> > > </xsl:template> > > > >Glen > > > > > >--- Sascha Teifke <[EMAIL PROTECTED]> wrote: > > > > > >>I am using fop with apache lenya to create pdf > >>files. > >>I'm using a simple xsl-file for transforming the > >>created > >>lenya xml files into pdf files: > >> > >><?xml version="1.0" encoding="iso-8859-1"?> > >><xsl:stylesheet > >> > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > >>version="1.0" > >> xmlns:fo="http://www.w3.org/1999/XSL/Format" > >> > > >> <!-- generate PDF page structure --> > >> <xsl:template match="/"> > >> <fo:root > >>xmlns:fo="http://www.w3.org/1999/XSL/Format"> > >> <fo:layout-master-set> > >> <fo:simple-page-master > >>master-name="page" > >> page-height="29.7cm" > >> page-width="21cm" > >> margin-top="1cm" > >> margin-bottom="2cm" > >> margin-left="2.5cm" > >> margin-right="2.5cm" > >> > > >> <fo:region-before > extent="3cm"/> > >> <fo:region-body > >>margin-top="3cm"/> > >> <fo:region-after > >>extent="1.5cm"/> > >> </fo:simple-page-master> > >> > >> <fo:page-sequence-master > >>master-name="all"> > >> > >><fo:repeatable-page-master-alternatives> > >> > >><fo:conditional-page-master-reference > >> master-reference="page" > >>page-position="first"/> > >> > >></fo:repeatable-page-master-alternatives> > >> </fo:page-sequence-master> > >> </fo:layout-master-set> > >> > >> <fo:page-sequence > >>master-reference="all"> > >> <fo:flow > >>flow-name="xsl-region-body"> > >> > >><fo:block><xsl:apply-templates/></fo:block> > >> </fo:flow> > >> </fo:page-sequence> > >> </fo:root> > >> </xsl:template> > >> > >> <!-- process paragraphs --> > >> <xsl:template match="p"> > >> > <fo:block><xsl:apply-templates/></fo:block> > >> </xsl:template> > >> > >> <xsl:template match="meta"> > >> <fo:block color="green"> > >> <xsl:apply-templates/> > >> </fo:block> > >> </xsl:template> > >> > >> <!-- convert sections to XSL-FO headings --> > >> <xsl:template match="s1"> > >> <fo:block font-size="24pt" color="red" > >>font-weight="bold"> > >> <xsl:apply-templates select="@title"/> > >> </fo:block> > >> <xsl:apply-templates/> > >> </xsl:template> > >> > >></xsl:stylesheet> > >> > >>But ... how can I make the <lenya:meta> tags in > the > >>xml file not to be > >>shown in the > >>created pdf file??? > >> > >>Thank you in advance! > >> > >>Sascha > >> > >> > >> > >> > >--------------------------------------------------------------------- > > > > > >>To unsubscribe, e-mail: > >>[EMAIL PROTECTED] > >>For additional commands, e-mail: > >>[EMAIL PROTECTED] > >> > >> > >> > >> > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: > [EMAIL PROTECTED] > >For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]