PROTECTED]]
Sent: Friday, December 07, 2001 9:31 AM
To: [EMAIL PROTECTED]
Subject: RE: DOCBOOK-APPS: Using profile.xsl to filter conditionalized
documents
-Original Message-
From: Jirka Kosek
saxon -o xsample.xml sample.xml profile.xsl os=Windows attr=os
val=UNIX
This didn't work for me
From: David Cramer
Something like this (untested)?
xsl:variable name=os.ok select=
not(@os) or
not($os) or
contains(concat($sep, @os, $sep),
concat($sep, $os, $sep)) or
(contains(concat($sep, @os, $sep),
concat($sep, 'mac', $sep))
Fantastic. Tested it; it works! Send me that 700 USD bill, Jirka!
Thanks,
Denis
-Original Message-
From: Jirka Kosek
Fixed in CVS. If you grab latest version of profile.xsl from CVS, you
can specify multiple targets in one parameter, e.g:
saxon -o xsample.xml sample.xml
-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
Bradford, Denis wrote:
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
-Original Message-
From: Jirka Kosek [mailto:[EMAIL PROTECTED]]
Not a nice way, but if you have only two values, you can do the following
trick:
saxon -o xsample.xml sample.xml profile.xsl os=Windows attr=os
val=UNIX
Seems nice to me!
profile.xsl is free and small piece of
I'm having trouble figuring out how to implement profile.xsl. Can anyone
tell what I'm doing wrong?
The first problem is that it's not preserving the structure of my book. My
book is chunked: it calls a bunch of file entity fragments (chapters). When
I run profile.xsl on the book, it generates
On Wed, Dec 05, 2001 at 03:35:07PM -0500, Bradford, Denis wrote:
I'm having trouble figuring out how to implement profile.xsl. Can anyone
tell what I'm doing wrong?
The first problem is that it's not preserving the structure of my book. My
book is chunked: it calls a bunch of file entity