[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: Re: Simplifying the XSL transform commands
On Fri, Mar 01, 2002 at 12:26:53AM +0100, Norman Walsh wrote: > / Dennis Grace <dgrace@us.ibm.com> was heard to say: > > | 2. Is it possible to include an instruction in the XSL customization layer > | that will direct the output to use the principal tag id as the name (so > | that, for instance, a DocBook XML article with the id attribute set to > | 'fred' > | > | <article id="fred"> > | > | would generate output file fred.htm)? > > Try setting use.id.as.filename to 1. That parameter is only used by the chunking stylesheet. The non-chunking stylesheet (is there a better name for that concept?) has no concept of an output filename, but instead writes to standard output, which the XSL processor redirects with its -output option. Using the chunk stylesheet just to get the filename probably will have side effects (like generating other chunks). How about a simple shell or perl script controlling xsltproc? -- 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