Skip to content

Commit

Permalink
refactor: correct error XSLT
Browse files Browse the repository at this point in the history
  • Loading branch information
DelanoWAF committed Aug 2, 2023
1 parent b8852ba commit 1c95f7a
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@
<xsl:param name="corsaErrorMessage" as="xs:string" />

<xsl:template match="/">
<Fault>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>
<xsl:value-of select="$corsaErrorMessage" />
</faultstring>
<detail>
<xsl:value-of
select="
<Message>
<xsl:value-of
select="
concat(
concat(
concat(
Expand All @@ -27,7 +28,8 @@
concat(
concat(codepoints-to-string(10),'Response: '),
$corsaResponse))" />
</Message>
</detail>
</Fault>
</SOAP-ENV:Fault>
</xsl:template>
</xsl:stylesheet>

0 comments on commit 1c95f7a

Please sign in to comment.