all groups > dotnet xml > march 2005 >
You're in the

dotnet xml

group:

Loading XSL


Loading XSL James Doughty
3/31/2005 11:55:22 PM
dotnet xml:
Hi,
I know how to load a XSL from a file and make it do the XSL Transformations
acrooss my document. Here is what I need to do.
I need to load the XSL not from a file but from a string, which is stored
in a sql server table. I know the XSL in the table is corret since it's
what I used about to test with. I've looked eveywhere I can but all the
sample are using the XSLTransform.Load(xslt filename). I know there are a
few overloaded operator, that seem to have ability but I haven't been able
to figure out what is wrong.

Thanks,
Re: Loading XSL Martin Honnen
4/1/2005 1:48:57 PM


[quoted text, click to view]


[quoted text, click to view]

xslTransform.Load(
new XmlTextReader(new StringReader(string)),
XmlResolver,
Evidence
);

<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemXmlXslXslTransformClassLoadTopic10.asp>


--

Martin Honnen
Re: Loading XSL James Doughty
4/2/2005 12:55:33 AM
Martin Honnen <mahotrash@yahoo.de> wrote in
news:uQI#NDrNFHA.2964@TK2MSFTNGP10.phx.gbl:

[quoted text, click to view]

AddThis Social Bookmark Button