Sudharshan, This is a requirement to change the document (the infoset); XMLBeans doesn't really have out-of-the-box XML transformations, but it gives you the tools to implement them yourself. You can write a method to walk a document with XmlCursor and perform this transformation. Radu
________________________________ From: Sudharshan Pollapally [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 15, 2008 12:53 PM To: user@xmlbeans.apache.org Subject: stripping all empty elements HI, Are there any options available to strip all empty elements using xmlText(XmlOptions ) ? I am trying to avoid going through an extra xslt transformation step to remove the empty elements. Thanks for the help, Sudharshan