This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: checking for element in CDATA
- From: Elliotte Rusty Harold <elharo at metalab dot unc dot edu>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Tue, 27 Aug 2002 10:36:33 -0400
- Subject: Re: [xsl] checking for element in CDATA
- References: <20020827092155.6902.qmail@web14401.mail.yahoo.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
At 2:21 AM -0700 8/27/02, Srinivas Ch wrote:
Hallo everyone,
I have write a xsl to check if there is an element
present in CDATA, how to do this.
This is trivially easy:
<xsl:if test="false()">
<!-- Put all your code to handle the case where elements are present
in the CDATA section here. -->
</xsl:if>
--
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| XML in a Nutshell, 2nd Edition (O'Reilly, 2002) |
| http://www.cafeconleche.org/books/xian2/ |
| http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/ |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://www.cafeaulait.org/ |
| Read Cafe con Leche for XML News: http://www.cafeconleche.org/ |
+----------------------------------+---------------------------------+
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list