473,545 Members | 2,688 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

differences between MSXML and .Net XSL transformation

Are the differences between MSXML and .Net XSL transformation documented
online anywhere? Many of my XSL's work in MSXML but transform differently in
..Net XSL transformation.
Nov 12 '05 #1
3 3057


Daniel wrote:
Are the differences between MSXML and .Net XSL transformation documented
online anywhere? Many of my XSL's work in MSXML but transform differently in
.Net XSL transformation.


Both MSXML 3 and MSXML 4 and .NET implement XSLT 1.0 and XPath 1.0 thus
as long as you are using a stylesheet in the namespace
http://www.w3.org/1999/XSL/Transform
and stick to the standard there shouldn't be any differences.
MSXML 3 also implements a WD (working draft) version published before
XSLT 1.0 became a standard, if you have stylesheets conforming with that
working draft then they are useless with .NET unless you rewrite them to
comply with the XSLT 1.0 standard.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Nov 12 '05 #2
>>MSXML 3 also implements a WD (working draft) version published before XSLT
1.0 became a standard
This is not true. MSXML3 was first released on web in Oct 2000 and it did
implement full XSLT which was a recommendation in 1999.
I guess you are referring to the first version of MSXML which implemented a
WD of XSL 1.0 not XSLT.

Daniel, What are those things where you are seeing the differences between
the 2 transform techniques ?

Pranav Kandula

"Martin Honnen" <ma*******@yaho o.de> wrote in message
news:ex******** ******@TK2MSFTN GP11.phx.gbl...


Daniel wrote:
Are the differences between MSXML and .Net XSL transformation documented
online anywhere? Many of my XSL's work in MSXML but transform differently in .Net XSL transformation.


Both MSXML 3 and MSXML 4 and .NET implement XSLT 1.0 and XPath 1.0 thus
as long as you are using a stylesheet in the namespace
http://www.w3.org/1999/XSL/Transform
and stick to the standard there shouldn't be any differences.
MSXML 3 also implements a WD (working draft) version published before
XSLT 1.0 became a standard, if you have stylesheets conforming with that
working draft then they are useless with .NET unless you rewrite them to
comply with the XSLT 1.0 standard.

--

Martin Honnen
http://JavaScript.FAQTs.com/

Nov 12 '05 #3
Pranav Kandula [MSFT] wrote:
MSXML 3 also implements a WD (working draft) version published before XSLT


1.0 became a standard
This is not true. MSXML3 was first released on web in Oct 2000 and it did
implement full XSLT which was a recommendation in 1999.
I guess you are referring to the first version of MSXML which implemented a
WD of XSL 1.0 not XSLT.


As a matter of interest, MSXML3 does support WD-XSL language. MSXML4
doesn't though. I think the reason why WD-XSL is still supported is that
default XML stylesheet (which works when you open styleless XML
document in IE) is written in WD-XSL (res://msxml3.dll/defaultss.xsl)
and can't be translated into XSLT due to differences in data model (e.g.
XSLT never can process XML declaration or CDATA sectin, while WD-XSL could).

--
Oleg Tkachenko [XML MVP]
http://blog.tkachenko.com
Nov 12 '05 #4

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

Similar topics

0
313
by: Daniel | last post by:
Are the differences between MSXML and .Net XSL transformation documented online anywhere? Many of my XSL's work in MSXML but transform differently in ..Net XSL transformation.
7
2084
by: Peter | last post by:
I have noticed a difference in the processing of XSL transforms between dotnet and MSXML. Dotnet formats the resulting output differently, and since we use the <pre> tag in the HTML output it makes a big difference. What is in fact correct here? I don't see that the XSL transform engine should reformat the output in this way, and would like...
9
1780
by: LarryR | last post by:
The following XSLT works fine using MSXML 4.0 (e.g I receive a result in about 20 seconds), but effectively hangs in both .NET 1.0 sp2 with the XML hot fix and NET 1.1. My source XML file is large at over 46,000 <atl_client> nodes <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0"...
2
6104
by: Aleksei Guzev | last post by:
How can I use transformation with Microsoft extensions to XSLT from C# code? I need MSXML 4.0. How can I bind System.Xml to it? Or I have to access it directly through COM?
3
1484
by: steve_h | last post by:
I think the subject says it all, but just in case: I know that I can call my own methods during an XSL transformation using <xsl:value-of select="myObject.someMethod(arg1)" /> having done something like: dim xslTrans as System.Xml.Xsl.Xsltransform
1
2430
by: Michael Nemtsev | last post by:
Any kind of differences? Were they buid on the common base or different? -- WBR, Michael Nemtsev :: blog: http://spaces.msn.com/laflour "At times one remains faithful to a cause only because its opponents do not cease to be insipid." (c) Friedrich Nietzsche
0
1078
by: Ovidiu Cos | last post by:
Hi all, I'm getting this error when processing an XML file with MSXML: Expected token ")", found "$" in <xsl:value-of select="format-number(number(sum(for $s in Shipment return 0.51)), '###,##0.00')"/> If I'm using XML spy's genuine XML engine, then this error doesn't pop up and the final transformation is ok. Unfortunatelly, is not the...
5
5353
by: Jeroen | last post by:
We're using MSXML to transform the XML document we have to an XHTML file using an XSLT. Now the problem is that the dotnet implementation we made does something subtly different from the commandline call to MSXML. The problem is that the dotnet variant leaves out a piece of info on the charset, leading to the browser going to a default...
6
7977
by: Anthony Jones | last post by:
People, Anyone else got an IIS7 server out there that they can test this little ASP file:- <% Set xml = Server.CreateObject("MSXML2.DOMDocument.3.0") xml.loadXML "<root />" Set xsl = Server.CreateObject("MSXML2.DOMDocument.3.0")
0
7434
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...
0
7692
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. ...
0
7946
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...
1
7457
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7791
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...
0
5078
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...
0
3491
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...
0
3470
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
744
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...

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.