Skip to content

v1.0.0

Compare
Choose a tag to compare
@leonelsanchesdasilva leonelsanchesdasilva released this 28 Jun 22:18
· 131 commits to main since this release

Breaking Changes

Please note that the XSLT process method now lives inside of the Xslt class:

import { Xslt, xmlParse } from 'xslt-processor'

// xmlString: string of xml file contents
// xsltString: string of xslt file contents
// outXmlString: output xml string.
const xsltClass = new Xslt();
const outXmlString = xsltClass.xsltProcess(
	xmlParse(xmlString),
	xmlParse(xsltString)
);

If you're planning to update your project with this version, adjust your code as needed.

The same is worth noting for XPath:

import { XPath } from 'xslt-processor'

const xPath = new XPath();

What's Changed

New Contributors

Full Changelog: v0.11.7...v1.0.0