Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 14th, 2005, 09:37 AM
Registered User
 
Join Date: May 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Two styles one xslt file

Hi,

I'm an IT student using xslt for the first time and struggling with this problem...

I need to apply a different style for printing and for screen viewing. I have previously done this in css using the @media screen attribute.

Can it be done in xslt?

I'm aware that when: and choose: may be the answer but have no idea how the media type is recognised.

Please help! :(

Chris
 
Old May 22nd, 2005, 10:21 PM
Authorized User
 
Join Date: Apr 2005
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes! It is possible. To add the two CSS or more styles is possible






Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating XSLT file (C#) maliniarulkumar General .NET 3 April 5th, 2007 10:08 AM
Chart Styles lumaar BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 1 June 8th, 2006 01:05 AM
Styles tsimsha HTML Code Clinic 2 February 9th, 2006 11:32 AM
Custom Styles bmains VB.NET 1 December 21st, 2005 02:30 PM
Styles problem tsimsha HTML Code Clinic 9 November 17th, 2004 09:58 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.