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


"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


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


Powered by eList eXpress LLC