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


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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

Subject: Re: DOCBOOK: Re: custom xsl stylesheet and import path

On Wed, May 01, 2002 at 03:47:23AM +0000, Matt G. wrote:
> >From: Johannes Zellner <johannes@zellner.org>
> >To: docbook@lists.oasis-open.org
> >Subject: DOCBOOK: custom xsl stylesheet and import path
> >Date: Mon, 29 Apr 2002 21:17:55 +0200
> >
> >Can I have something like
> >
> >   <xsl:import href = '$PATH_TO_DOKBOOK/chunk.xsl'/>
> Yes, sort of.  since XSLT is XML, you can actually use an entity reference.  
> For example, when building your document on different systems, your script 
> (e.g. Makefile) that invokes the XSLT processor defines the entity 
> 'xdbk_xsl_root', via a command-line option.  Then, your xsl:import element 
> would look like this:
>     <xsl:import href="&xdbk_xsl_root;/chunk.xsl"/>
That's neat trick.
But I don't see an option with Saxon or xsltproc to 
define an entity on the command line.  Which processor
can do that?

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
Caldera International, Inc.                 fax:   (831) 429-1887
                                            email: bobs@caldera.com

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

Powered by eList eXpress LLC