XSL Mapping

When executing the operation mapping with my XSL transformation getting the error “Error when parsing an XML document (The markup in the document following the root element must be well-formed.)”

Below is my XSL

<?xml version=”1.0″ encoding=”UTF-8″?>
<ns0:stylesheet version=”1.0″ xmlns:ns0=”http://www.w3.org/1999/XSL/Transform” xmlns:wfm=”http://www.avangrid.com/wfm/” xmlns:opt=”http://www.clicksoftware.com/OptionalParameters” xmlns:xsl=”http://schemas.xmlsoap.org/soap/envelope/“>
<ns0:template match=”/”>
<ns1:Header>
<ns2:OptionalParameters xmlns:ns2=”http://www.clicksoftware.com/OptionalParameters“>
<ns2:CallerIdentity>EAI_SAPGLB</ns2:CallerIdentity>
<ns2:ErrorOnNonExistingDictionaries>true</ns2:ErrorOnNonExistingDictionaries>
</ns2:OptionalParameters>
</ns1:Header>
<ns1:Body>
<ns1:copy-of select=”*”/>
</ns1:Body>
</ns0:template>
</ns0:stylesheet>

The header has to close before the body tag.

provide me the solution for the above

 

Scroll to Top