Hi,
I’m not all that au fait with XSLT and I need to map data from an XML which contains NameSpaces.
I am getting the following error:
com.wm.pkg.xslt.util.LocalizedTransformerException: [XSL.0002.9002] JAXP: Error during transformation -
The prefix “ns0” for element “ns0:SORequest” is not bound.; Line#: 2; Column#: 16
The top of the XSLT is as follows:
<xsl:stylesheet version=“1.0” xmlns:xsl=“[URL]http://www.w3.org/1999/XSL/Transform[/URL]”
xmlns:fo=“[URL]http://www.w3.org/1999/XSL/Format[/URL]”
xmlns:ns0=“[URL]http://www.clientcompany.com/Project/SalesOrder[/URL]”
exclude-result-prefixes=“fo”>
<xsl:output method=“xml” indent=“yes”/>
<xsl:template match=“ns0:SORequest”>
<xsl:call-template name=“processSORequest”/>
</xsl:template>
I don’t understand why the prefix “ns0” is not bound as I have defined it ??
Can anyone give me any pointers or help ??
Cheers,
David