Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / XML / September 2004

Tip: Looking for answers? Try searching our database.

differences between MSXML and .Net XSL transformation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Daniel - 11 Sep 2004 00:30 GMT
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 - 11 Sep 2004 12:21 GMT
> 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.

Signature

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

Pranav Kandula [MSFT] - 14 Sep 2004 18:40 GMT
>>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

> > Are the differences between MSXML and .Net XSL transformation documented
> > online anywhere? Many of my XSL's work in MSXML but transform differently in
[quoted text clipped - 8 lines]
> working draft then they are useless with .NET unless you rewrite them to
> comply with the XSLT 1.0 standard.
Oleg Tkachenko [MVP] - 19 Sep 2004 11:57 GMT
>>>MSXML 3 also implements a WD (working draft) version published before XSLT
>
[quoted text clipped - 3 lines]
> 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).

Signature

Oleg Tkachenko [XML MVP]
http://blog.tkachenko.com


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.