473,948 Members | 7,054 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Debugging xslt transformations in XMLSpy

Hello,

I'm trying to debug an xsl transformation in XMLSpy version version 5
release 3, the same xsl transformation works correctly when transformed
using Microsoft(R) MSXML 2.0 SP 3. In XML Spy I'm getting the
following error:

Error in XPath expression, Function not in namespace.

on the following line in my main xsl file:

<xsl:value-of select="xyz:MyF unction(myparam 1,myparam2,
myparam3)"></xsl:value-of>
My main xsl file has the following at the top:

<?xml version="1.0"?>
<xsl:styleshe et xmlns:xsl="http ://www.w3.org/1999/XSL/Transform"
version="2.0" xmlns:xyz="urn: schemas-mycompany-com:xyz">
<xsl:include href="../includes/AnotherXSL.xsl" ></xsl:include>

Inside AnotherXSL.xsl I have:

<xsl:styleshe et version="1.0"
xmlns:xsl="http ://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="ur n:schemas-microsoft-com:xslt"
xmlns:xyz="urn: schemas-mycompany-com:xyz">
<msxsl:script language="vbscr ipt" implements-prefix="xyz"><![CDATA[
function MyFunction(byva l myparam1, byval myparam2, byval myparam2)

Do some stuff...

end function

If in my main template I comment out all of the lines that call out to
the xyz: functions in my AnotherXSL.xsl template I can debug the
transformation, but this is kind of a pain.

I downloaded the trial version of XML Spy 2006, but it's even worse.
When I try to debug my xml with XMLSpy version version 5 release 3 it
automatically opens up all of the xsl templates that are included in my
main xsl template. With XML Spy 2006, it doesn't do that and it
complains about all of the xsl functions that are in stylesheets that
are included in my main stylesheet. Has anyone else seen this? Is
there some switch in XML Spy 2006 that will get it to handle includes?
Is there anyway to get XMLSpy version version 5 release 3 to handle
these VBScript functions?

Thanks,
Eric

Jun 21 '06 #1
0 1125

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

Similar topics

0
1404
by: Andy Dingley | last post by:
I'm writing XSLT to transform fntg-schema (our own project's document schema) into PartnerML, a HTML-like XML dialect used for mobile phones. I'm using XMLSPy 4.4 to do this. The schema for PartnerML is supplied in several modules, brought together by <xs:include> and <xs:import> statements. My understanding (and experiment) suggests that XMLSpy can't work with such a modularized schema. As a result, my XSLT documents have a header...
3
1690
by: Rolf Kemper | last post by:
Dear All, I looking for a list of xsl processors indicating what they support at present. I'm using XMLSpy which goes to XSLT 2.0 soon. My biggest head ache: What about the microsoft MSXML?? DLL. Does anybody have some information how far microsft is and what do I have to install (currently i'm running MSXML4)
4
3974
by: mikea_59 | last post by:
I'm getting different results from XMLSpy and Saxon translations - both are updated versions. Maybe someone here can give me some insight. Here is my input: <MESSAGE> <msgName> <B enum="1"> <C>"1234"</C> </B>
6
3247
by: Christopher | last post by:
I am currently in the process of evaluating the performance hits of moving to the .NET platform for our application. I created a sample project that loads the transforms the same XML and XSLT in COM, COM using interop and in C# and then transforms it to HTML. I also tried concatenating the XML and XSL as a string and then loading it to the DOM once as opposed to loading the DOM with the appendChild() method. I see that the C# version is...
0
11181
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
10695
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
9898
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...
0
7432
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
6120
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6340
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4949
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
2
4543
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3547
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.