1234567891011121314151617181920212223242526272829303132333435 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: AGS
- (C) Copyright IBM Corp. 2005, 2008
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <xts:morphlet xmlns:xts="http://developer.cognos.com/schemas/xts/" messageBase="messages/AGS.xml,messages/portal.xml" includeConfig="true" requiredCapability="canUseEventStudio">
- <!--
- ================================================================================
- do the validate commandResults
- ================================================================================
- -->
- <xts:block id="commandResults" processor="XSLT" type="exec" mode="output" mimeType="text/xml">
- <xts:logicsheet path="logicsheets/cm-logic.xsl"/>
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt" xmlns:xtscm="http://developer.cognos.com/schemas/xts-cm/1/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:bus="http://developer.cognos.com/schemas/bibus/3/" version="1.0" exclude-result-prefixes="xtsext xtscm SOAP-ENV bus">
- <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
- <xsl:template match="/root">
- <xsl:variable name="CRLF">
- <xsl:text>
</xsl:text>
- </xsl:variable>
- <asyncReply>
- <validateResult>
- <xts:transform name="XMLEncode">
- <xsl:value-of select="xtsext:replace(./SOAP-ENV:Envelope/SOAP-ENV:Body/*/*[local-name()='result']//*[local-name()='searchPath']/*[local-name()='value'], string($CRLF), string('&#xA;'), false)"/>
- </xts:transform>
- </validateResult>
- </asyncReply>
- </xsl:template>
- </xsl:stylesheet>
- </xts:block>
- </xts:morphlet>
|