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: 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


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


Powered by eList eXpress LLC