473,406 Members | 2,273 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

How to embed xsl-stylesheets in resx-files?

Hi

I have a 2.0-app which contains some xsl-files. I would like to embed these
files in the deployed sites assembly. Previously I would mark the files as
embedded resource and then retrieve them when needed using:

Assembly assembly = Assembly.GetExecutingAssembly();
XmlTextReader reader = new
XmlTextReader(assembly.GetManifestResourceStream(" ..."));

How can I do this in ASP 2.0 ???

I guess I would use .resx files in App_*Resources but it doesnt seem to
allow embedding xsl-files?? Im confused ...

/Andreas
Jan 6 '06 #1
1 1884
See my other reply

"Andreas Zita" <an**********@gmail.com> schreef in bericht
news:e$**************@TK2MSFTNGP15.phx.gbl...
Hi

I have a 2.0-app which contains some xsl-files. I would like to embed
these files in the deployed sites assembly. Previously I would mark the
files as embedded resource and then retrieve them when needed using:

Assembly assembly = Assembly.GetExecutingAssembly();
XmlTextReader reader = new
XmlTextReader(assembly.GetManifestResourceStream(" ..."));

How can I do this in ASP 2.0 ???

I guess I would use .resx files in App_*Resources but it doesnt seem to
allow embedding xsl-files?? Im confused ...

/Andreas

Jan 6 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Thomas P. Fuller | last post by:
Hi, Thanks in advance for any help in this matter. I need to embed a link in the text portion of an xml element's value. For example, <some_element> Hi, my name is Tom, and you can find...
2
by: D. Alvarado | last post by:
Hello, I am outputting HTML from an XSLT and I am having trouble setting the value of a form-action field based on certain conditions. Here is the non-working code: <xsl:template...
3
by: Sekhar | last post by:
Hi all I am trying to embed a user control into an XSLT.. Can something like be done?? If not, any other better alternative? Thanks Sekhar
5
by: pjfarley3 | last post by:
Hi all, First-timer here, with a question about composing XML and XSL. I have a need to send one XML file with NO external server references to an end-user browser window; i.e., I would like to...
8
by: jalexa9898 | last post by:
I am asking because I wrote some flex that was put in xml and I want to embed it in some html is this hard to do?
9
by: johkar | last post by:
I would like to embed some XML within my XSL as either a param or a global variable. Is this possible? If so, what is the syntax to access it? <xsl:call-template name="securetemplate">...
1
by: shapper | last post by:
Hello, I am creating VS2005 web project which includes various custom controls. One of those controls uses a XSL file. How can I embed the XSL file in my .dll so I don't need to place it in...
2
by: shapper | last post by:
Hello, I have an assembly with customs controls, classes and handlers.I am creating it as an ASP.NET 2.0 VS2005 Web Project This one one of my handlers: Namespace Web Public Class...
6
by: qualitychecker | last post by:
Hello thanks for your help.. I try to reference a PHP module from within a HTML file, see below ---------------------------------------- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">...
4
by: csgraham74 | last post by:
Ok - i was wondering if someone could help me. im basically trying to embed an html string in piece of XML. i created an xsl and added the CDATA into the xml around the html i wish to render....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.