p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   XSLT (http://p2p.wrox.com/forumdisplay.php?f=86)
-   -   XSLT Printing (http://p2p.wrox.com/showthread.php?t=81764)

marudha November 29th, 2010 03:11 PM

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

Thanking you,

Marudha

samjudson November 30th, 2010 06:28 PM

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.

marudha December 13th, 2010 11:05 PM

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

samjudson December 14th, 2010 03:22 AM

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.


All times are GMT -4. The time now is 03:35 AM.

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