Hi,
IntelliJ IDEA doesn't run XSLT transformation right. For example when I run following xsl code:
<?xml version="1.0" encoding="utf-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:param name="newRncId" />
<xsl:template match="@*">
<xsl:copy />
</xsl:template>
<xsl:template match="node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()" />
</xsl:copy>
</xsl:template>
<xsl:template match="baseId">
<xsl:copy>
<xsl:value-of select="$newRncId" />
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
the "baseId" tamplate doesn't applied. The same result could be reproduced in Java if instead of DOMSource you use StreamSource in Transformer#transform() method. So it looks like a bug in IDEA.