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


Hello Lisa !

Yes, you can do it by CDATA sections, but I believe it's not good to operate on tag level in xslt at all.
xslt processor doesn't generate </blabla> tags, it outputs nodes to result tree.

---
Oleg Tkachenko,
Multiconn International 

> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com 
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Lisa Rupe
> Sent: Monday, August 06, 2001 9:07 PM
> To: xsl-list@lists.mulberrytech.com
> Subject: [xsl] not wellformed contents of xsl:template
> 
> 
> 
> Is it possible to put HTML tags that are not well-formed into 
> xsl:template?
> I would like to be able to end a table, insert a new table, then restart
> the first table--
> 
>   <xsl:template match='line'>
>   </td><td width="2%"></td></tr></table>
>     <table border='{$table-border}' width='{$table-width}%' cellpadding="4
> ">
>       <xsl:call-template name='line'/>
>     </table>
>     <table width="100%" cellpadding="4" border="0"><td width="2%"></td><td
> width="96%">
>   </xsl:template>
> 
> I tried using variables for the end and start fragments, but had lots of
> trouble with the '<' in whatever I tried to do.
> 
> Thanks,
> Lisa
> 
> 
> 
> 
> 
>  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]