<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >

	<xsl:template match="/">
		<Root>

			<!-- HOME PHONE ADDED, CHANGED, DELETED -->
			<xsl:call-template name="testChanged">
				<xsl:with-param name="origPhone" select="/OriginalProfile/CellPhone/text()"/>
				<xsl:with-param name="updatedPhone" select="/EditedProfile/CellPhone/text()"/>
				<xsl:with-param name="typePhone" select="'cell'"/>
			</xsl:call-template>
		</Root>
	</xsl:template>

	<xsl:template name="testChanged">
		<xsl:param name="origPhone"/>
		<xsl:param name="updatedPhone"/>
		<xsl:param name="typePhone"/>

		Debug: $updatedPhone="<xsl:value-of select="$updatedPhone"/>"

		<xsl:if test="$updatedPhone != '' and ($origPhone = '' or not($origPhone))">:: <xsl:value-of select="$typePhone"/> phn added</xsl:if>

		<xsl:if test="$updatedPhone != '' and ($origPhone != $updatedPhone)">:: <xsl:value-of select="$typePhone"/> phn changed</xsl:if>

		<xsl:if test="$updatedPhone = ''">:: <xsl:value-of select="$typePhone"/> phn deleted</xsl:if>
	</xsl:template>
</xsl:stylesheet><!-- Stylus Studio meta-information - (c) 2004-2005. Progress Software Corporation. All rights reserved.
<metaInformation>
<scenarios ><scenario default="yes" name="Scenario1" userelativepaths="yes" externalpreview="no" url="ReproductIfTestProblemData.xml" htmlbaseurl="" outputurl="" processortype="msxmldotnet" useresolver="no" profilemode="0" profiledepth="" profilelength="" urlprofilexml="" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext="" validateoutput="no" validator="internal" customvalidator=""/></scenarios><MapperMetaTag><MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/><MapperBlockPosition><template match="/"></template></MapperBlockPosition><TemplateContext></TemplateContext><MapperFilter side="source"></MapperFilter></MapperMetaTag>
</metaInformation>
-->