Xls Style Sheets

I am trying to get a program working that uses a (poorly) written tutorial. It uses an XML file which calls an XLS style sheet.<br /><br />This is the XLS Style Sheet:<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec--><?xml version="1.0" encoding="ISO-8859-1"?><br /><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><br /><br />  <xsl:template match="/"><br />    <xsl:apply-templates select="location"/><br />  </xsl:template><br /><br />  <xsl:template match="location"><br />    <div style="padding-right: 8px; margin-top: 2px"><br />      <xsl:apply-templates select="info"/><br />    </div><br />  </xsl:template><br /><br />  <xsl:template match="info"><br />  <br />    <xsl:variable name="page" select="../@arg0"/><br />    <xsl:variable name="address"><br />        <xsl:for-each select="address/line"><br />          <xsl:if test="position() > 1">, </xsl:if><br />          <xsl:value-of select="."/><br />        </xsl:for-each><br />    </xsl:variable><br /><br />    <div style="font-weight: bold">Custom!</div><br /><br />    <div><br /><img><br />    <xsl:attribute name="src"><br />  <xsl:value-of select="image"/>  <br />    </xsl:attribute><br /></img><br />    </div><br /><br />    <div style="font-size: small; margin-top: 14px"><br />      <xsl:apply-templates select="address/line"/><br />    </div><br /><br />  </xsl:template><br /><br />  <xsl:template match="line"><br />    <div style="margin-top: 2px"><xsl:value-of select="."/></div><br />  </xsl:template><br /><br />  <xsl:template name="getSingleLineAddress"><br />    <xsl:for-each select="address/line"><br />      <xsl:if test="position() > 1">, </xsl:if><br />      <xsl:value-of select="."/><br />    </xsl:for-each><br />  </xsl:template><br /><br /></xsl:stylesheet><!--QuoteEnd--></div><!--QuoteEEnd-->The tutorial goes on to 'hack' the above style sheet so that the XML file can use standard HTML tags. The 'hack' to the XLS style sheet isn't precisely given, but when clicking on the link that is suppsoed to give the code for the style sheet, this is what i get:<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec--><xsl:stylesheet version="1.0"><br /><xsl:template match="/"><br /><xsl:apply-templates select="location"/><br /></xsl:template><br /><xsl:template match="location"><br /><xsl:apply-templates select="info"/><br /></xsl:template><br /><xsl:template match="info"><br /><xsl:variable name="page" select="../@arg0"/><br /><div><br /><xsl:copy-of select="minipage/node()"/><br /></div><br /></xsl:template><br /></xsl:stylesheet><!--QuoteEnd--></div><!--QuoteEEnd--><br /><br />The code for the above stylesheet doesn't look long enough (relative to the one above it) and i really don't know anything about XML and XLS files (can you tell <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /> ).<br /><br />Can anybody tell if the above should be enough to display HTML tags in an XML file that calls this style sheet; if not, what is missing and/or any leads as to what may be wrong. (or am i way off base?)<br /><br />As always, thank you.<!--content-->
Obviously the above should be XSL (and not XLS)<!--content-->
Don't meen to doublepost, but i posted <a href="http://www.totalchoicehosting.com/forums/index.php?showtopic=20375" target="_blank">THIS QUESTION</a> about XSL but don't know if my question belongs here.<br /><br />Please move if necessary.<br /><br />Thanks.<!--content-->
I merged your posts,<br />we read all forums.<br /><br />Sorry no one has any insight on this.<br />Maybe it will take a little longer for all the family members to check in<br />and help.<!--content-->
 
Top