0

In our company, we are moving from MSXML 6.0 engine to Libxslt.

Our XSLT code contains a lot of flags, counters and arrays implemented in JS, which MSXML supported and Libxslt does not.

As a replacement, I am looking for some sort of mutable arguments support. Does Libxslt have one? Something along the line of saxon:assignable functionality

I know that that is against the "natural" language design, but I am dealing with a large body of flawed code that would be very difficult to re-write...

  • 1
    Stop kicking the can down the road and move to Saxon now. If the free version doesn't suit, surely the paid version is less expensive than the dev time required to migrate and maintain code against a vastly inferior library. – kjhughes Oct 17 '21 at 17:16
  • You can find out which extensions are supported by calling `xsltproc --dumpextensions` from the command line. Funnily enough, *some* Saxon extensions are supported - but `saxon:assign` is not among them. If you're up to it, you could try writing your own (see: http://www.xmlsoft.org/xslt/extensions.html) but I believe your time would be better spent fixing your XSLT code - whether for libsxlt or for a more modern processor. – michael.hor257k Oct 17 '21 at 18:23
  • We actually tried to move to Saxon but apparently, there are some compatibility issues between our product and specifically Saxon... – Roee Vakrat Oct 18 '21 at 04:01
  • Thanks for the tip about the extensions ill check it out – Roee Vakrat Oct 18 '21 at 04:03

0 Answers0