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 November 29th, 2010, 03:11 PM
Registered User
 
Join Date: Nov 2010
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default xslt print

How do I call the
<link rel="stylesheet" href="~/CSS/print.css" type="text/css" media="print" />
inside xslt

Thanking you,

Marudha
 
Old November 30th, 2010, 06:28 PM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

Sorry, I don't understand the question. The above is some HTML, which you can output from XSLT by simply placing the above HTML where you want it in the stylesheet.

If you have some other requirement then you are going to have to explain yourself in more detail.
__________________
/- Sam Judson : Wrox Technical Editor -/

Think before you post: What have you tried?
 
Old December 13th, 2010, 11:05 PM
Registered User
 
Join Date: Nov 2010
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Pinting in xslt

Hi Sam,

Thank you for responding for my question. When I added the <link> tag, to reference style sheet for print inside the html tag in xslt, I found that style sheet for print was not applied. Since I was calling this in a aspx page, I added the link to style sheet in aspx page.

Now the page has to html tags-one for xml data transformed to html and the other with form tag and css reference.

it worked.

I was just wondering why the reference inside html tag in xslt is not working?



Thanking you,

Marudha
 
Old December 14th, 2010, 03:22 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

I'm sorry, I still have no idea what you mean. You are going to have to actually show us an example input XML file and XSLT file and tell us what the issue is.
__________________
/- Sam Judson : Wrox Technical Editor -/

Think before you post: What have you tried?





Similar Threads
Thread Thread Starter Forum Replies Last Post
stable xslt code for pretty printing xml anboss XSLT 5 October 28th, 2009 07:51 AM
Pretty nested printing with XSLT atteeela XSLT 1 August 23rd, 2007 02:07 PM
Fanfold page printing using XSLT rajendra_mrprasad XSLT 0 May 9th, 2006 09:38 AM
XSLT and Printing buttergrooves XSLT 0 April 11th, 2005 04:40 PM
capturing printing settings when printing reports nikolaosk Access VBA 0 February 8th, 2005 04:14 AM





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