Solved

Why css file referenced in xslt searched on client side?

Posted on 2008-10-22
3
229 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Suggested Courses

623 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