Releases: DesignLiquido/xslt-processor
Releases · DesignLiquido/xslt-processor
v2.3.1
What's Changed
- Bump follow-redirects from 1.15.4 to 1.15.6 by @dependabot in #89
- Fixes in
xsl:choose
andxsl:copy-of
+ better docs by @leonelsanchesdasilva in #90
Full Changelog: v2.3.0...v2.3.1
v2.3.0
What's Changed
- Bump ip from 1.1.8 to 1.1.9 by @dependabot in #86
- implement replace function by @jasonliao-cb in #87
New Contributors
- @jasonliao-cb made their first contribution in #87
Full Changelog: v2.2.0...v2.3.0
v2.2.0
What's Changed
- Unifying attributes with other child nodes. by @leonelsanchesdasilva in #84
- Fixing a bug with
xsl:attribute
+xsl:call-template
by @leonelsanchesdasilva in #85
Full Changelog: v2.1.4...v2.2.0
v2.1.4
What's Changed
- Using variables set in the context to resolve values for
call-template
. by @leonelsanchesdasilva in #83
Full Changelog: v2.1.3...v2.1.4
v2.1.3
What's Changed
- Removing logic that was replacing child nodes by attribute nodes. Totally weird. (cee123a)
- Bump follow-redirects from 1.15.2 to 1.15.4 (#82) (b742613)
Full Changelog: v2.1.2...v2.1.3
v2.1.2
What's Changed
- Bump axios from 1.4.0 to 1.6.1 by @dependabot in #79
- Not applying
for-each
if XPath doesn't find nodes. by @leonelsanchesdasilva in #81
Full Changelog: v2.1.1...v2.1.2
v2.1.1
v2.1.0
What's Changed
upper-case
andlower-case
(XSLT 2.0) by @leonelsanchesdasilva in #77
Full Changelog: v2.0.1...v2.1.0
v2.0.1
What's Changed
- Bump @babel/traverse from 7.22.5 to 7.23.2 by @dependabot in #75
- Fixing behavior reported in #74. by @leonelsanchesdasilva in #76
Full Changelog: v2.0.0...v2.0.1
v2.0.0
Breaking Changes
Please note that the xmlParse
method now lives inside the XmlParser
class:
import { Xslt, XmlParser } from 'xslt-processor'
// xmlString: string of xml file contents
// xsltString: string of xslt file contents
// outXmlString: output xml string.
const xsltClass = new Xslt();
const xmlParser = new XmlParser();
const outXmlString = xsltClass.xsltProcess(
xmlParser.xmlParse(xmlString),
xmlParser.xmlParse(xsltString)
);
If you're planning to update your project with this version, adjust your code as needed.
Starting on version 2 of this library, HTML is handled differently than XML, due to particularities in HTML such as tags that don't need to be closed.
Full Changelog: v1.2.8...v2.0.0