OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Subject: Re: DOCBOOK-APPS: Changing the .xhtm extension

It work for single files but not for chunks. I've tried setting the
parameter on a customization layer and on xhtml/chunk.xsl  and it is still
giving me an HTML 4.01 chunks. I've also tried it as a parameter to

The relevant Makefile section is below:

stories-chunk :
        @echo "Generating chunked content";
        @xsltproc --param html.ext "'.html'" xsl/xhtml/cal-chunk.xsl
        @echo "Done Chunking content";
        @mv *.html stories;
        @echo "Moved chunks to their directory";

Cal-chunk.xsl is in the same directory as the the other XHTML stylesehets
and is listed below:

<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

<xsl:import href="chunk.xsl"/>
<xsl:variable name="html.ext">.html</xsl:variable>

<!-- Sets the level of table of contents -->
<xsl:variable name="toc.section.depth">4</xsl:variable>

<!-- What stylesheet do we want to use -->
<xsl:variable name="html.stylesheet">generic-style.css</xsl:variable>

<!-- Do we use graphic icons for admonitions -->
<xsl:variable name="admon.graphics">1</xsl:variable>

<!-- Make sure that CSS is used, not HTML elements -->
<xsl:variable name="css.decoration">1</xsl:variable>

<!-- restart numbering chapters for each part -->
<xsl:variable name="label.from.part">1</xsl:variable>

Any help is greatly appreciated

On 01/08/02 10:05, "Jeff Beal" <jeff.beal@ansys.com> wrote:

> There's a parameter set in ../xhtml/chunk.xsl that specifies the extension
> being used.  It is:
> <xsl:param name="html.ext" select="'.xhtm'"/>
> Create a driver file that overrides this parameter as follows:
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>               xmlns:mml="http://www.w3.org/1998/Math/MathML"
> version="1.0">
> <!-- This stylesheet works with Saxon and Xalan; for XT use xtchunk.xsl -->
> <xsl:import href="../xhtml/chunk.xsl"/>
> <xsl:param name="html.ext" select="'.xhtm'"/>
> <xsl:output method="xml"/>
> </xsl:stylesheet>
> -----Original Message-----
> From: carlos@cvc.edu [mailto:carlos@cvc.edu]
> Sent: Monday, January 07, 2002 9:27 PM
> To: docbook-apps@lists.oasis-open.org
> Subject: DOCBOOK-APPS: Changing the .xhtm extension
> I'm trying to use the XHTML stylesheets. How do I change the .xhtm extension
> back to html?
> Carlos

Carlos E. Araya
---+ WebCT Administrator/Trainer
 P | California Virtual Campus
 - | C/O De Anza College
 G | 21250 Stevens Creek Blvd
---+ Cupertino, CA 95014

email               carlos@cvc.edu
web                 http://www.cvc1.org/ (work)
                    http://www.silverwolf-net.net (personal)
phone               408 257 0420 (work)
PGP Fingerprint:    E629 5DFD 7EAE 4995 E9D7  3D2F 5A9F 0CE7 DFE7 1756

Paradoxically, a refusal to 'put a monetary value on life' means that life
is often undervalued.
-- Artificial Intelligence: A Modern Approach

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC