This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
RE: Using profile.xsl to filter conditionalized documents
- From: "Bradford, Denis" <denisb at rational dot com>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Thu, 06 Dec 2001 12:49:32 -0500
- Subject: RE: DOCBOOK-APPS: Using profile.xsl to filter conditionalized documents
> -----Original Message-----
> From: Bob Stayton
> It is a two-step process.
> You use profile.xsl to generate an intermediate file
> that has been 'profiled', that is, that meets your
> conditional text specs. Then you run the normal docbook
> stylesheet on that intermediate file. To chunk, you would
> just apply chunk.xsl to the output file from profile.xsl.
Great! Once I got my chunk.xsl customization in shape, this problem and a
host of others fell away.
Next question:
The author can specify more than one condition in the source, as in:
<para os="Windows;UNIX">...</para>
However, I can't specify more than one value for a condition when I run
profile.xsl. For example:
saxon -o xsample.xml sample.xml profile.xsl "os=Windows;UNIX"
The result of this command is to OMIT both Windows and UNIX conditions, the
opposite of what I wanted.
Is it possible to get multiple values to work on the command line?
The reason I ask is that Epic's profiling allows you to do this, and I'm
trying to reproduce that capability independently of Epic.
Thanks,
Denis