Skip to Content
0
Former Member
Apr 13, 2010 at 09:11 AM

Could not load stylesheet.com.sap.engine.lib.xml.util.NestedException: Char

241 Views

Hello Experts,

I am using the XSLT mapping as :

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:a="http://www.sdn.com/xslt">
<xsl:output method="xml" omit-xml-declaration="no"/>
<xsl:template match="/">
<xsl:for-each select="//*:Str">
<xsl:copy-of select="." />
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>

It works fine in XMLSpy but in PI it gives exception as

Transformer configuration exception occurred when loading XSLT string2xml5.xsl (http:abc.com, 330e1cf1-417b-11df-a905-ee6eac1f7083, -1) Could not load stylesheet.com.sap.engine.lib.xml.util.NestedException: Character not allowed in XPath, ':'

But I guess the : in Xpath should be acceptable.

Any inputs, hint to resolve the issue will be of gr8 help to me.

Kind Regards,

Abhi.

Edited by: Abhijeet Ambekar on Apr 13, 2010 3:10 PM

Edited by: Abhijeet Ambekar on Apr 13, 2010 3:11 PM