Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / XML / March 2006

Tip: Looking for answers? Try searching our database.

"Show XSLT Output" in VS2005 with extended functions

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Peran - 24 Mar 2006 15:01 GMT
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
Matt - 29 Mar 2006 22:25 GMT
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

 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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.