> Hi All, > > I am using SAXParser for parsing my xsl file. But for some .xsl files, I am > getting some junk characters in the source. My xsl file is as follows: > > <?xml version="1.0" ?> > > <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > version="1.0"> > <xsl:output method="html" omit-xml-declaration="yes"/> > <xsl:template match="XMLMessage"> > > <XMLMessage> > <xmlMessageFrom><xsl:value-of select="xmlMessageFrom"/></xmlMessageFrom> > <xmlMessageTo><xsl:value-of select="xmlMessageTo"/></xmlMessageTo> > <xmlMessageSubject>Appointment Confirmation</xmlMessageSubject> > > <xmlMessageBody> > <HTML> > <HEAD> > </HEAD> > <BODY> > > <table border="0" width="100%" height="392"> > <tr> > <td width="100%" colspan="2" height="18"><font face="Arial" size="2">Dear > <xsl:value-of select="FirstName"/> <xsl:value-of > select="LastName"/>,</font></td> > </tr> > > <tr> > <td width="100%" colspan="2" height="1"><font face="Arial" > size="2"></font></td> > </tr> > > <tr> > <td width="100%" colspan="2" height="18"><font face="Arial" size="2">Thank > you for using our service.</font></td> > </tr> > </table> > > </BODY> > </HTML> > > </xmlMessageBody> > </XMLMessage> > > </xsl:template> > </xsl:stylesheet> > > > And the xml I will creating will be like this: > > <XMLMessage> > <xmlMessageFrom>[EMAIL PROTECTED]</xmlMessageFrom> > <xmlMessageTo>[EMAIL PROTECTED]</xmlMessageTo> > <FirstName>ABC</FirstName> > <LastName>XYZ</LastName> > </XMLMessage> > > Parsing and all is done properly, and it is generating the html also. But > the html file looks weird and the source of it looks like this: > > > <HTML> > <BODY> > > <table border=3D"0" width=3D"100%"> > <tr> > <td width=3D"100%" colspan=3D"2"><font face=3D"Arial" size=3D"2">Dear A= > BC=A0XYZ,</font></td> > </tr> > > <tr> > <td width=3D"100%" colspan=3D"2"><font face=3D"Arial" size=3D"2"> > Thank you for using our service.</font></t= > d> > </tr> > </table> > > </BODY> > </HTML> > > Can anyone tell me how this extra characters like 3d, A0, = are generated? > Character =20 is also displayed. Can anyone please help me? You can mail me > at [EMAIL PROTECTED] > > Thanks in advance > > Leena >
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
