includeComments

Top  Previous  Next

- includeComments [false] ( true | false )

 

Should your domain objects be converted to XML, this attribute allows you to retain any comments in the XML document that gets generated.

 

if includeComments="true"

 

<Employee>
    <!-- this is the first name -->
    <FirstName>John</FirstName>
    <LastName>Doe</LastName>
    <!-- this is the address line 1 -->
    <AddressLine1>1234 Happy Lane</AddressLine1>
</Employee>

 

if includeComments="false"

 

<Employee>
    <FirstName>John</FirstName>
    <LastName>Doe</LastName>
    <AddressLine1>1234 Happy Lane</AddressLine1>
</Employee>