RE: DOCBOOK-APPS: Using profile.xsl to filter conditionalized documents

2001-12-07 Thread Bradford, Denis
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 prof

Re: DOCBOOK-APPS: Using profile.xsl to filter conditionalized documents

2001-12-07 Thread Jirka Kosek
"Bradford, Denis" wrote: > > > -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 - result still omits both Windows and UNIX content. > I'm working with arch, not os, but should be the s

RE: DOCBOOK-APPS: Using profile.xsl to filter conditionalized documents

2001-12-07 Thread Bradford, Denis
From: David Cramer > Something like this (untested)? > > > > Just keep adding ors and ands until you've taken care of every combination ;-) That works like a champ, many thanks David! I did test it: used the following command to generate multiple conditions: saxon -o xsample.xml s

RE: DOCBOOK-APPS: Using profile.xsl to filter conditionalized documents

2001-12-07 Thread David Cramer
-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 - result still omits both Windows and

RE: DOCBOOK-APPS: Using profile.xsl to filter conditionalized documents

2001-12-07 Thread Bradford, Denis
> -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 - result still omits both Windows and UNIX content. I'm working with arch, not os, but should be the same. > Implementing user-friendly way ("o

RE: DOCBOOK-APPS: Using profile.xsl to filter conditionalized documents

2001-12-06 Thread Bradford, Denis
> -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

Re: DOCBOOK-APPS: Using profile.xsl to filter conditionalized documents

2001-12-06 Thread Jirka Kosek
"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 wh

RE: DOCBOOK-APPS: Using profile.xsl to filter conditionalized documents

2001-12-06 Thread Bradford, Denis
> -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, yo

Re: DOCBOOK-APPS: Using profile.xsl to filter conditionalized documents

2001-12-05 Thread Bob Stayton
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 entit

RE: DOCBOOK-APPS: Using profile.xsl to filter conditionalized documents

2001-12-05 Thread Bradford, Denis
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 th