This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: not wellformed contents of xsl:template


Use <xsl:output method="html" indent="yes" />
Just inside your <xsl:stylesheet xmlns:xsl=" ....">

MSXML 3 supports it.  I am just not sure about others.

For more information see p 78 & 79 & 626 of Professional XSL from Wrox.  My 
2nd edition of Michael Kay's book is at home but my guess is that it is in 
there too.

Hope this helps.

bruce
-----Original Message-----
From:	Lisa Rupe [SMTP:LRupe@questia.com]
Sent:	Monday, August 06, 2001 1:21 PM
To:	xsl-list@lists.mulberrytech.com
Subject:	Re: [xsl] not wellformed contents of xsl:template

 
   
 
   
 
   








* Lisa Rupe:

> Is  it  possible to  put  HTML  tags  that  are not  well-formed  into
> xsl:template?

Yes, by using CDATA sections <![CDATA[</td></tr></table>]]>
or by escaping < and > to &lt; and &gt; in a xsl:text statement
<xsl:text>&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</xsl:text>

   But then the output in the HTML is &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
   and
   I want it to be </td></tr></table>. Is there no way around that?
   Lisa

Cheerio!
--
Jean-Baptiste Quenot

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list





 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]