Subject: [xsl] "<" Gets Converted to "<" From: "Balajee Chandrasekaran" <balajeec@xxxxxxxxxx> Date: Mon, 11 Nov 2002 12:25:59 +0530 |
Hi All, I have an xsl some thing like this ===================================================================== <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="/"> <link rel='stylesheet' type='text/css' name='styles' href='cssJP.css'/> <html> <head> <title>Groups</title> </head> <script language="JavaScript"> <![CDATA[ function copy_onclick(tblGroups) { alert("inside"); for(i=0;i<tblGroups.rows.length;i++) { alert("Success1"); } } ]]> </script> </html> </xsl:template> </xsl:stylesheet> ======================================================================== The output is some thing like this ===================================================================== <link rel='stylesheet' type='text/css' name='styles' href='cssJP.css'/> <html> <head> <title>Groups</title> </head> <script language="JavaScript"> function copy_onclick(tblGroups) { alert("inside"); for(i=0;i<tblGroups.rows.length;i++) { alert("Success1"); } } </script> </html> ===================================================================== I have marked the "<" in red. The "<" in XSL gets converted to "<" (also marked in red) in the output HTML. This is giving me error in Javascript How can I rectify it..?? Thanks in advance. regards Balajee Chandrasekaran Software Engineer Majesco Software Inc. Phone : 91-22-5695 2222 Extn No 7911 ------------------------------------ Beleif Everything is possible for him who believes. Bible ------------------------------------ MASTEK Investing in relationships In the US, we're called MAJESCO ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from all computers. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Regarding xlink:type=exte, Jarno . Elovirta | Thread | Re: [xsl] '<' Gets Converted to '&l, Antonio A. Gallardo |
[xsl] Regarding xlink:type=extended, swapna vujjini | Date | Re: [xsl] '<' Gets Converted to '&l, Antonio A. Gallardo |
Month |