Groups | Blog | Home
all groups > dotnet xml > september 2004 >

dotnet xml : differences between MSXML and .Net XSL transformation



Daniel
9/10/2004 4:30:38 PM
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.

Martin Honnen
9/11/2004 1:21:02 PM


[quoted text, click to view]

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
Pranav Kandula [MSFT]
9/14/2004 10:40:29 AM
[quoted text, click to view]
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

[quoted text, click to view]

Oleg Tkachenko [MVP]
9/19/2004 12:57:49 PM
[quoted text, click to view]

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]
AddThis Social Bookmark Button