[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] docbook: export to pdf, exclude a special tag


Subject: [xsl] docbook: export to pdf, exclude a special tag
From: andreas_fe@xxxxxx
Date: Sat, 18 Sep 2010 19:53:02 +0200

Hello,

I'm relativly new to XML and Fo and so on... (I've read some postings in this mailinglist, but I wasn't so sucessful...)

I have a docbook-file (4.4) created by the wiki-software moinmoin

Then I want to export this file into pdf by

an@pc:~/docbook-xsl-1.76.0$ fop -xml ../pros.xml -xsl param.xsl -pdf pros.pdf


in the xml-file there are tags, which I don't want to see in the pdf-file

<revhistory><revision><revnumber>12</revnumber><date>2010-09-11 07:06:18</date><authorinitials>02333</authorinitials></revision><revision><revnumber>11</revnumber><date>2010-07-26 17:48:49</date><authorinitials>0523421-</authorinitials>

...
</revhistory>

how can I exclude this element <revhistory> and so everything which is between the start and the endtag?

Thanks

Andreas

P.S:

params.xsl

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
<xsl:import href="fo/docbook.xsl"/>
<xsl:param name="paper.type">A4</xsl:param>
</xsl:stylesheet>

-- 
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail


Current Thread
Keywords
xml