commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "emmanuel.boudrant" <b...@yahoo.fr>
Subject Re: Digester can retrieve CDDATA ?
Date Mon, 10 Jun 2002 16:19:08 GMT
Yes. But what rule I need to use (ex
setPropertyRule(...) ).

Thanx

 --- Janek Bogucki <yan@studylink.com> 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" <b7st@yahoo.fr>
> > Reply-To: "Jakarta Commons Developers List"
> <commons-dev@jakarta.apache.org>
> > Date: Mon, 10 Jun 2002 17:43:27 +0200 (CEST)
> > To: commons-dev@jakarta.apache.org
> > 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:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:commons-dev-help@jakarta.apache.org>
>  

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message