Solved

Why css file referenced in xslt searched on client side?

Posted on 2008-10-22
3
223 Views
Last Modified: 2013-11-18
Hi,
My problem is that I using a css file in my web application and its works fine.
I also generating an html file (that opened on client side as .xls and .doc) using xslt, the xslt file has a reference for the same .css file, located at: MyApp\styles\StyleSheets\my_styles.css

I make the reference for this file is the same way from the ascx files and from the xslt:
<link href="styles/StyleSheets/my_styles.css" rel="stylesheet" type="text/css" />

.. but, when I opening the file generated by xslt I get the attached error.

Waiting for any help.. :)




css-error.gif
0
Comment
Question by:netformx
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
mirzas earned 500 total points
ID: 22774084
Put the full path
<link href="http://hostname/MyApp/styles/StyleSheets/my_styles.css" rel="stylesheet" type="text/css" />

Open in new window

0
 

Author Comment

by:netformx
ID: 22784004
Thank you miraz, unfortunately I see that I have other problems because the transformation of the xslt is on the client side.
I understood that there is a way to transform the xslt to html n the server side,
I assume that using this will solve my problem.
Does anyone have code in c# for such transformation (on the server side)?
0
 
LVL 6

Expert Comment

by:mirzas
ID: 22785376
That is another question.
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Error in JQuery 5 54
Divi Them Help with Full Width header 20 67
move widget title down 4 20
How to make footer stick to bottom 9 31
Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question