This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Using profile.xsl to filter conditionalized documents
- From: Jirka Kosek <jirka at kosek dot cz>
- To: "Bradford, Denis" <denisb at rational dot com>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Fri, 07 Dec 2001 21:06:12 +0100
- Subject: Re: DOCBOOK-APPS: Using profile.xsl to filter conditionalized documents
- References: <3906C56A7BD1F54593344C05BD1374B10286E453@SUS-MA1IT01>
"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 same.
Sorry, my mistate. This is impossible.
> > Implementing user-friendly way ("os=Windows;UNIX") is not so easy as
> > XSLT doesn't have data types like array or list.
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 profile.xsl "os=Windows;UNIX"
After all, implementation wasn't as hard as I though. ;)
Jirka
-----------------------------------------------------------------
Jirka Kosek
e-mail: jirka@kosek.cz
http://www.kosek.cz