How do I configure Castor to not generate empty XML nodes

MMSU

New Member
Is there an option in Castor to not generate empty xml nodes when marshalling an object?\[code\]<EMPLOYEE><ID>123</ID><FIRSTNAME></FIRSTNAME><LASTNAME>TEST</LASTNAME></EMPLOYEE>\[/code\]to \[code\]<EMPLOYEE><ID>123</ID><LASTNAME>TEST</LASTNAME></EMPLOYEE>\[/code\]
 
Back
Top