Hi!

I have a huge problem with empty elements.

1) Next example is ok - 'subelement' is NOT empty and 'element' is created:
<root>
  <element>
     <subelement>hello</subelement>
  </element>
</root>

2) Next example is not ok - 'subelement' IS empty and 'element' is still
present which is not ok:
<root>
  <element />
</root>

How can I avoid empty element 'element' in example no. 2?
-- 
View this message in context: 
http://www.nabble.com/Empty-subelements-in-xml-tp19142960p19142960.html
Sent from the Castor - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to