473,320 Members | 1,884 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 3022


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*******@yahoo.de> wrote in message
news:ex**************@TK2MSFTNGP11.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
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
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...
9
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...
2
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
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...
1
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...
0
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)),...
5
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...
6
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 =...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.