Hi,
I'm not clear what is going wrong with your setup. I just tried this simple
customization stylesheet:
--------------------------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:d="http://docbook.org/ns/docbook"
version="1.0">
<xsl:import href="docbook-xsl-ns-1.78.1/epub/docbook.xsl"/>
<xsl:template match="d:revhistory" mode="titlepage.mode"/>
</xsl:stylesheet>
--------------------------------------------------------------------------------------------------------------
I ran this command on a DocBook 5 book containing info/revhistory:
docbook-xsl-1.78.1/epub/bin/dbtoepub -s custom5.xsl mybook.xml
and the revhistory does not show on the title page. So the custom XSL
template does work, but for some reason is not being applied in your setup.
Can you put an XSL message in your custom template to see if it is being
called?
Bob Stayton
Sagehill Enterprises
[email protected]
--------------------------------------------------
From: "Shlomi Fish" <[email protected]>
Sent: Tuesday, April 02, 2013 2:56 PM
To: "Bob Stayton" <[email protected]>
Cc: <[email protected]>
Subject: Re: [docbook-apps] [HELP] How can I get rid of the output of the
<revhistory /> tag in the EPUB output
Hi Bob,
On Tue, 2 Apr 2013 09:37:36 -0700
"Bob Stayton" <[email protected]> wrote:
Hi,
I would have written those custom templates to match on revhistory, not
on
the descendants of revhistory:
<!-- Get rid of the revhistory element -->
<xsl:template match="d:revhistory" mode="titlepage.mode" />
<xsl:template match="d:revhistory" />
Did you try that?
I tried it - yes. Didn't work.
Regards,
Shlomi Fish
--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
What does "Zionism" mean? - http://shlom.in/def-zionism
In Soviet Russia, superstition believes in you. — Sawyer X
Please reply to list if it's a mailing list post - http://shlom.in/reply .
---------------------------------------------------------------------
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]