PHP Classes

File: templates/rpc/rpc.tpl

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of Michael Collado  >  Phritz MVC framework  >  templates/rpc/rpc.tpl  >  Download  
File: templates/rpc/rpc.tpl
Role: Auxiliary data
Content type: text/plain
Description: Template file for XML-RPC output
Class: Phritz MVC framework
Browser device independent MVC framework
Author: By
Last change:
Date: 9 years ago
Size: 928 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"/>
<xsl:template match="/">
		<xsl:when test="/ROOT/FAULT = 1">
							<value><int><xsl:value-of select="/ROOT/ERROR/CODE" /></int></value>
							<value><string><xsl:value-of select="/ROOT/ERROR/MESSAGE" /></string></value>
				<xsl:for-each select="/ROOT/RESPONSE/*">
						<xsl:copy-of select="." />