<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
	<xsl:output method="html"/>
	<xsl:include  href="ProcessString.xsl"/>
	<!-- Template for root rule -->
	<xsl:template match="/">
			<xsl:apply-templates/>
	</xsl:template>
	
	<xsl:template match="AllStrings">
		<xsl:for-each select="SingleString">
	
				<b><xsl:value-of select="'Original String: '"/></b><br/>
				<xsl:value-of select="." /><br/><br/>
				<b><xsl:value-of select="'Converted String: '"/></b>

				<!-- Call the template that will loop through each character of a string -->
					<xsl:call-template name="ProcessString">
						<xsl:with-param name="strInput" select="."/>
					</xsl:call-template>
					<br/><br/>
		</xsl:for-each>
	</xsl:template>
</xsl:stylesheet>
