473,396 Members | 1,871 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,396 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 3030


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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...

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.