How To Run Legacy Database Publishing XSL Templates on version 6.x

  1. Ensure that your target database has a bean configuration in the server-beans.xml at {installation root}\AppServer\server\rx\deploy\rxapp.ear\rxapp.war\WEB-INF\config\spring
  2. Create an identity.xsl file as follows:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="xml"/>
    <xsl:template match="/">
        <xsl:apply-templates select="*" mode="copy"/>
    </xsl:template>
    <xsl:template match="node()" mode="copy">
        <xsl:copy>
            <xsl:copy-of select="@*"/>
            <xsl:apply-templates mode="copy"/>
        </xsl:copy>
    </xsl:template>
</xsl:stylesheet>
  1. Edit the application for the legacy XSL template in the Workbench> XML Server > Applications >
    Replace the ‘default’ stylesheet for the database publishing resource(s) with the identity.xsl stylesheet.
    This will just copy the input to the output w/ no change.

For completeness, check the PSX_TEMPLATE table in the ASSEMBLYURL column for any entry that has an .xml extension. Every such stylesheet that is the ‘default’ must be replaced with the identity one. If it is already a non-default stylesheet, then leave that entry alone.
Also, make sure that the database publishing resource(s) has/have a mime type of “text/xml” and not “text/html”.