Hi Emmanuel,

Do you want to use CDATA like this:

<listing>
 <table name="customer">
  <script><![CDATA[
    CREATE TABLE CUSTOMER ...
    ]]>
  </script>
  <fields>
   <field name="id" type="number(15)" />
   ...
  </fields>
 </table>
</listing>

I have used CDATA with Digester with no problem. The CDATA stuff is handled
by the XML processor so Digester never knows about it.

-Janek

> From: "emmanuel.boudrant" <[EMAIL PROTECTED]>
> Reply-To: "Jakarta Commons Developers List" <[EMAIL PROTECTED]>
> Date: Mon, 10 Jun 2002 17:43:27 +0200 (CEST)
> To: [EMAIL PROTECTED]
> Subject: Digester can retrieve CDDATA ?
> 
> Hi,
> I use digester to retrive a xml repository like that:
> 
> <listing>
> <table name="customer">
> <script>
> CREATE TABLE CUSTOMER ...
> </script>
> <fields>
> <field name="id" type="number(15)" />
> ...
> </fields>
> </table>
> </listing>
> 
> Is it possible, with digester, to retrive the <script>
> CDDATA in my bean named Table. Table has 3 properties
> : String name, String script and an field collection.
> 
> Thanx,
> -Emmanuel


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to