ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Maves" <nathan.ma...@gmail.com>
Subject Re: CDATA inside or outside of statement tag
Date Wed, 23 Aug 2006 20:07:27 GMT
I tend to not use them at all.  The only time I would need them is for
the standard less then or greater then symbols.

Instead I just use the html code to do this.   &gt; and &lt;

On 8/23/06, Daniel Pitts <Daniel.Pitts@cnet.com> wrote:
>
>
> I believe the cdata start/end will cause the dynamic tags to be escaped, and
> therefor not interpreted by iBATIS.
> I would guess your second suggestion is the correct one.
>
>  ________________________________
>  From: Mississippi John Hurt [mailto:johnhurt@gmail.com]
> Sent: Wednesday, August 23, 2006 1:01 PM
> To: user-java@ibatis.apache.org
> Subject: CDATA inside or outside of statement tag
>
>
> In my statement in xml, if I use <dynamic> tag, does the CDATA wrap around
> the whole statement, ie
>
> <select>
> CDATASTART
> <dynamic>  </dynamic>
> <dynamic> </dynamic>
> CDATAEND
> </select>
>
> or I use to use separate CDATA sections as in below...
> <select>
> <dynamic>  CDATASTART  CDATAEND </dynamic>
> <dynamic>  CDATASTART   CDATAEND</dynamic>
> </select>
>

Mime
View raw message