In that case, how about using the nillable attribute on those elements ? Werner
Koku wrote: > I'm starting with XML schema > > Werner Guttmann wrote: >> Hi, >> >> yes, there's an option that relies on the xsi:nil attribute. Is this an >> option to you ? >> >> Werner >> >> P.S. Are you using a mapping file, or did you start with an XML schema ? >> >> Koku wrote: >>> I have a situation where I need to send xml with all tags included, even >>> the >>> empty ones. Is there a way to get Castor to generate the empty tags? >>> >>> Thank you! >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> >> >> > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

