This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: not wellformed contents of xsl:template
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] not wellformed contents of xsl:template
- From: Wendell Piez <wapiez at mulberrytech dot com>
- Date: Mon, 06 Aug 2001 16:02:47 -0400
- References: <OFFD4C55B6.A9536965-ON86256AA0.006900E9@questia.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
At 03:33 PM 8/6/01, Jean-Baptiste wrote:
> > 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 < and > in a xsl:text statement
><xsl:text></td></tr></table></xsl:text>
Ugh! what Jean-Baptiste left out is that if you're doing this, there are
way better tools than XSLT. This approach has terrible shortcomings and
takes advantage of none of XSLT's strengths. It's like saying you want to
make a wooden pedestal, putting your block on your lathe, and then pulling
out your whittling knife.
An XSLT approach would work by looking at the problem a completely
different way. Lisa should step back up the tree one level (or more) so she
doesn't need to split her table in half.
This is covered in the FAQ! (Lisa, please ask again if research into the
question -- in the FAQ, and in Mike Kay's book or other manuals -- does not
illuminate why other solutions to your problem are better than trying to
split your table in two.)
Cheers,
Wendell
======================================================================
Wendell Piez mailto:wapiez@mulberrytech.com
Mulberry Technologies, Inc. http://www.mulberrytech.com
17 West Jefferson Street Direct Phone: 301/315-9635
Suite 207 Phone: 301/315-9631
Rockville, MD 20850 Fax: 301/315-8285
----------------------------------------------------------------------
Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list