Well, I'm not actually using the mapping files, but I noticed the following in the doc 
in the description of the <field> element:

 "transient: if true, this field will be ignored during the marshalling. 
  This is usefull in when used with the auto-complete option."


Did you try that?




> -----Original Message-----
> From: Nischala Kale [mailto:[EMAIL PROTECTED]
> Sent: June 17, 2004 15:48
> To: [EMAIL PROTECTED]
> Subject: [castor-user] [XML] Skip generating an element
> 
> 
> I've been struggling with the following issue for sometime.
> 
> The class structure is as follows -
> 
> Class foo has a Method zoo getZoo()
> 
> Class zoo has a Method bar getBar()
> 
> But the XML that needs to be generated is like -
> 
> <foo>  <bar>  </bar> </foo> i.e, the element zoo needs to to be skipped.
> 
> Any idea on how I can write a mapping file to achieve this ?
> 
>  
> 
> Thanks!
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
> 

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user

Reply via email to