Skip to content
forked from ivk1/msxsl_

This is a Visual Studio 2017 solution to build the msxsl.exe tool from source code.

Notifications You must be signed in to change notification settings

SergeiVorobyov/msxsl

 
 

Repository files navigation

msxsl_

This is a Visual Studio 2017 solution to build the msxsl.exe tool from source code.

The original code can be downloaded here: https://www.microsoft.com/en-us/download/details.aspx?id=21714).

Motivation : achive better performance by building a 64 bit version with a modern compiler for a modern platform/CPU.

Following changes were made:

  • added MSXML6.0 support (will be used by default)
  • removed/commented out MSXML4.0 (if someone needs this and knows how to do it, please enable it again)
  • Rename some functions due to collisions with windows API function names
  • Removed some deprecated/no more supported function calls
  • Added total time calculation in ms (-t option)
  • Adjusted messages.mc accordingly

Timing/performance comparison

A 13,4 MB XML file and a 15 KB XSL file have been used for performance measurement.

Original msxsl.exe

msxsl.exe test.xml test.xslt -t -o xx.html
Microsoft (R) XSLT Processor Version 4.0

Source document load time: 1188 milliseconds
Stylesheet document load time: 1.319 milliseconds
Stylesheet compile time: .866 milliseconds
Stylesheet execution time: 446.8 milliseconds
(Total time: 1637 ms)

64-bit msxsl_.exe

msxsl_.exe test.xml test.xslt -t -o xx.html
Microsoft (R) XSLT Processor Version 6.0

Source document load time: 923.4 milliseconds
Stylesheet document load time: 1.017 milliseconds
Stylesheet compile time: .653 milliseconds
Stylesheet execution time: 362.3 milliseconds
Total time: 1287 milliseconds

About

This is a Visual Studio 2017 solution to build the msxsl.exe tool from source code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 92.4%
  • C 7.6%