[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] checking for element in CDATA


Subject: Re: [xsl] checking for element in CDATA
From: Elliotte Rusty Harold <elharo@xxxxxxxxxxxxxxx>
Date: Tue, 27 Aug 2002 10:36:33 -0400

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@xxxxxxxxxxxxxxx | 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



Current Thread
Keywords