Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

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

Former Member
Former Member replied

sorry, I mean

<xsl:for-each select="//Str">

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question