Subject: Re: [xsl] Customizing DocBook numbering scheme using XSL (legal style) From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 15 Oct 2010 15:58:17 -0400 |
this is a problem because:
1) I don't know what stylesheet does dblatex use by default to generate a PDF document. The documentation is not clear about this.
2) This is supposed to be so easy that is just not explained (it's pretty like having 100 keys to open a door: it's obvious that you need a key, but it's useful to know which one). The manual only says that you need a key to open the door.
3) I think that now I am doing something like what you say:
# dblatex input.xml -p mystylesheet.xsl -o output.pdf
(input.xml is the DocBook document, mystylesheet.xsl is my customized stylesheet (quite simple, as it only has the code below(1)) and output.pdf is the generated PDF)
So, I have read the documentation really carefully, but I only get fuzzy advices, which can or cannot be useful (I have little experience with XSL templates, so I would prefer a simple answer).
Also, the problem is that I use <xsl:template match="sect1">, and that code renders all the standard stylesheet's definition of sect1 useless.
<xsl:template match="sect1"> <xsl:number level="multiple" from="chapter" format="1. "/> <xsl:apply-templates/> </xsl:template>
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Customizing DocBook numbe, Néstor Amigo Cairo | Thread | [xsl] Client-side XSLT and Javascri, Michael Kay |
Re: [xsl] determining position base, David Carlisle | Date | [xsl] Open Office xml & xsl process, Russell Urquhart |
Month |