Skip to Content
Feb 17, 2017 at 01:01 PM

XSLT Error in PO 7.5 SP04 Dynamic Configuration

493 Views Last edit Feb 17, 2017 at 01:09 PM 2 rev

Hi All,

I checked all the other questions here in the forum, but none of the provided answers was working for me.

We have a PO 7.5 SP 04

My XSLT looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="" xmlns:xs="" xmlns:fn="" xmlns:map="java:java.util.Map" xmlns:dyn="" xmlns:key="">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:param name="inputparam"/>
<xsl:variable name="delimiter" select="'_'"/>
<xsl:variable name="dynamic-conf" select="map:get($inputparam, 'DynamicConfiguration')"/>','SystemID')"/>
<xsl:variable name="receiverName" select="dyn:get($dynamic-conf, $dynamic-key)"/>
<xsl:variable name="prefix" select="concat($receiverName,'',$delimiter)"/>
<xsl:template match="@*|node()">
<xsl:apply-templates select="@*|node()"/>
<xsl:template match="node()[starts-with(text(),$prefix)]">
<xsl:value-of select="substring-after(text(),$prefix)"/>
<xsl:template match="@*[starts-with(text(), $prefix)]">
<xsl:attribute name="{name()}"><xsl:value-of select="substring-after(.,$prefix)"/></xsl:attribute>

This XSLT was working in my old PI system PI 7.31, but not anymore in PO 7.5

I tried my setup with both options "Use XML ToolKit" and without "Use XML Toolkit"

Both setups end in the same error below.


Do you have any idea how to resolve this problem?