v1.0.0
·
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
- XSLT template precedence not recognised by @berenddeboer in #39
- Partial namespace support (incomplete) by @mincerafter42 in #54
- Template should be able to match on any element not just / by @berenddeboer in #34
- Adding GitHub Flow. by @leonelsanchesdasilva in #55
New Contributors
- @mincerafter42 made their first contribution in #54
- @leonelsanchesdasilva made their first contribution in #55
Full Changelog: v0.11.7...v1.0.0