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

Subject: Re: [xsl] docbook: export to pdf, exclude a special tag
From: Dave Pawson <davep@xxxxxxxxxxxxx>
Date: Sun, 19 Sep 2010 09:00:17 +0100
On Sat, 18 Sep 2010 19:53:02 +0200
andreas_fe@xxxxxx wrote:

> 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?

Wrong list. Try the docbook-apps list on Oasis.

http://wiki.docbook.org/topic/DocBookAppsMailingList

Basically the 'title page' is processed separately from the body of the
document. revhistory is a part of that title page. 



-- 

regards 

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

Current Thread