tags:

views:

7

answers:

0

I m generating an XML document using objects. Batch object encloses all other childelements and i want validate the partially generated XML Document against XSD. If I assign null value to any inner complexType. The validation fails because the inner elements won't appear in the XML document. For example, if XSD contains Address as a complex type and i want to generate this alone with outer elements and validate against XSD file.

Could anyone help me How can I achieve this?