Predefined Entities defines characters that are not valid in the XML document and must be escaped. These are
If you have any of these characters in your XSL text transformations remember to change them to their escaped version.
Alternatively you may use a CDATA section . e.g. <![CDATA[<greeting>Hello, world!</greeting>]]>
See Illegal XML Characters
See Illegal XML Characters
Either your template is failing to match what your expect or the template rule that is matching is conflicting with another template rule. See Conflict Resolution for Template Rules
If you have a template rule for finding unmatched records like:
<!-- Find unmatched payee nodes. Since this rule is first it will only match if there is not a better match further below in this file. --> <xsl:template match="payee"> <memo> UNMATCHED <xsl:value-of select="." /> </memo> <category>Misc.</category> </xsl:template>
and you think you have defined a rule that will match the record but the output is showing that the unmatched node rule is being used then check your template rules's match very carefully.
If a record is not matching the unmatched node rule but is matching something else unexpected, then find that rule and comment it out. If the correct rule is now working then you will either need to make the match rule more explicit, set a template priority or ensure that the rule ordering is from less to more explicit matching.