By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,374 Members | 1,768 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,374 IT Pros & Developers. It's quick & easy.

"Show XSLT Output" in VS2005 with extended functions

P: n/a
If I create a simple xslt stylesheet I can quickly test this in VS2005 by
pressing the "Show XSLT Output" button rather than running the whole solution.

If I then create a xslt stylesheet with some extended functions I have to
run the whole solution (adding the extension objects to the XsltArgumentList
when calling XslCompiledTransform.Transform). The "Show XSLT Output"
function does not work because it does not know where to find the extension
functions.

Is it possible to define the extension function objects somewhere in VS2005
so that "Show XSLT Output" would work in this situation, I find it very handy
to be able to do a quick test of a xslt stylesheet rather than having to run
the whole solution.
Regards

Peran
Mar 24 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Peran,

The only way I have been able to perform this task is create my extensions in a script and include them for quick testing. This is a pain because you basically have to write you fuction twice but I found once I had a typical library I only have to change the include and the xmlns statements to switch between the two.

HTH,

Matt
"Peran" <Pe***@discussions.microsoft.com> wrote in message news:37**********************************@microsof t.com...
If I create a simple xslt stylesheet I can quickly test this in VS2005 by
pressing the "Show XSLT Output" button rather than running the whole solution.

If I then create a xslt stylesheet with some extended functions I have to
run the whole solution (adding the extension objects to the XsltArgumentList
when calling XslCompiledTransform.Transform). The "Show XSLT Output"
function does not work because it does not know where to find the extension
functions.

Is it possible to define the extension function objects somewhere in VS2005
so that "Show XSLT Output" would work in this situation, I find it very handy
to be able to do a quick test of a xslt stylesheet rather than having to run
the whole solution.
Regards

Peran
Mar 29 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.