Use the BeanPropertySetterRule.
Digester.addBeanPropertySetter("script"), or something similar.
Scott
-----Original Message-----
From: emmanuel.boudrant [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 10, 2002 9:19 AM
To: Jakarta Commons Developers List
Subject: Re: Digester can retrieve CDDATA ?
Yes. But what rule I need to use (ex
setPropertyRule(...) ).
Thanx
--- Janek Bogucki <[EMAIL PROTECTED]> a �crit : > 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]>
>
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais ! Yahoo! Mail :
http://fr.mail.yahoo.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>