PHP Classes

File: templates/soap/soap_content.tpl

Recommend this page to a friend!
  Classes of Michael Collado  >  Phritz MVC framework  >  templates/soap/soap_content.tpl  >  Download  
File: templates/soap/soap_content.tpl
Role: Auxiliary data
Content type: text/plain
Description: Template file for SOAP output
Class: Phritz MVC framework
Browser device independent MVC framework
Author: By
Last change:
Date: 15 years ago
Size: 734 bytes


Class file image Download
<?xml version="1.0" encoding="iso-8859-1"?>

<xsl:stylesheet version="1.0" xmlns:xsl="">
<xsl:output method="xml" encoding="iso-8859-1" omit-xml-declaration="yes"/>
<xsl:template match="/">
		<xsl:when test="/ROOT/FAULT = 1">
			<faultcode><xsl:value-of select="/ROOT/ERROR/CODE" /></faultcode>
			<faultstring><xsl:value-of select="/ROOT/ERROR/MESSAGE" /></faultstring>
			<xsl:element name="{/ROOT/OUTPUT_MESSAGE}" namespace="{$PHRITZ_URL}">
			<xsl:for-each select="/ROOT/RESPONSE/*">
				<xsl:copy-of select="." />
For more information send a message to info at phpclasses dot org.