thomas.deweese wrote:
> 
> Hi Andi,
> 
> 
> 
>    There are a couple of ways this might be done.
>    One would be to replace element that references the stylesheet.
> Also CSS has the concept of alternate stylesheets which Batik
> supports so you can do something like:
> 
>         <!-- Always loaded -->
> <?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?>
> 
>         <!-- Loaded if user selects 'Hot' from alternate stylsheets menu 
> -->
> <?xml-stylesheet type="text/css" title="Hot" 
> href="../../resources/style/hot.css" alternate="yes" ?>
> 
>         <!-- Loaded if user selects 'Cold' from alternate stylsheets menu 
> -->
> <?xml-stylesheet type="text/css" title="Cold" 
> href="../../resources/style/cold.css" alternate="yes" ?>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

Great! I was not aware of the "alternate" option. 
And how do I change between these css files inthe code? You are talking
about an "alternate stylsheets menu". What is that or where can I find it?

Thanks again,
Andi
-- 
View this message in context: 
http://www.nabble.com/Change-stylesheet-tf1930926.html#a5290758
Sent from the Batik - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to