473,761 Members | 7,710 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"Show XSLT Output" in VS2005 with extended functions

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 XsltArgumentLis t
when calling XslCompiledTran sform.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
1 1926
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***@discussi ons.microsoft.c om> wrote in message news:37******** *************** ***********@mic rosoft.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 XsltArgumentLis t
when calling XslCompiledTran sform.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
5368
by: Will Atkinson | last post by:
Hi All, I'm a relative newbie to SQL Server, so please forgive me if this is a daft question... When I set "Show Execution Plan" on in Query Analyzer, and execute a (fairly complex) sproc, I note that a particular query is reported as having a query cost of "71% relative to the batch" - however, this is nowhere near the slowest executing query in the batch - other queries which take over twice as long are reported as having costs in...
10
2616
by: Audun Røe | last post by:
Hi, I have a list of codes which I want translated into something "understandable". Is there a mechanism such as hashtables that could handle this? (eg. PHP: array('F' => 'Foo', 'C' => 'Cat')) It just seems as if a page worth of if-tests would be a fairly clumsy solution to this (there are a lot of codes) problem. Basically, I have an XML-document which looks like something like
6
1393
by: chris yoker via DotNetMonster.com | last post by:
hiya, i have an xml doc, and I'd like to assign lookup values. Eg, if the "PRODUCT-TYPE" is 6, then I insert "bike" into the innerText. <code> <rows> <row> <PRODUCT-TYPE>6</PRODUCT-TYPE> <PRODUCT-DATE>01/01/2003</PRODUCT-DATE> </row>
1
1761
by: chris yoker via DotNetMonster.com | last post by:
hiya, I'm still stuck at this one ;-( I want to overwrite the "numeric" value of my node with a lookup value. <xslt> <xsl:for-each select="PRODUCT-TYPE"> <xsl:choose> <xsl:when test=".='6'">Bike</xsl:when> <xsl:when test=".='7'">Car</xsl:when> <xsl:when test=".='1'">Van</xsl:when>
6
1953
by: W.Guerlich | last post by:
I've got a Java servlet that delivers large database resultsets transformed to Excel with the HSSF library. In some cases it takes more than 15 minutes before transformation is done and content can be delivered to the browser. I want to show the "Save As" dialog as early as possible so the user knows he's not lost and forgotten. I already tried to send the response headers immediately after receiving the request including content...
2
1483
by: jain_tj | last post by:
Could anyone please help me with the following problem My xml file is ============== <fig id="F0000001"> <caption>Caption text</caption> <image id="I0000001" image.class="halftone" image.type="jpg" print="0" width="29-6" depth="23-6" pointer="I0000001.jpg"/> </fig>
5
1243
by: pilsdumps | last post by:
I have a parent and child class: parent: #!/usr/local/bin/perl -w #class clFormMaker package clFormMaker; sub new { #constructor
0
1253
by: Ted | last post by:
http://easyurl.net/XSLT
1
3756
by: RN1 | last post by:
Sub Page_Load(........) If Not Page.IsPostBack Then Call LoadData() End If End Sub Sub LoadData() Dim dSet As DataSet Dim sqlConn As SqlConnection Dim sqlDapter As SqlDataAdapter
0
9345
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10115
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9957
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9775
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8780
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7332
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6609
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5373
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3881
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.