Hi Gareth, >Are you sure about this? It seems likly that you are adding them in the >wrong order.
Yeah, actually i realized my mistake soon after, sorry about that. But, i'd still like to know that is there not a facility whereby, we can, before adding a DOMNode to the tree, check that the addition will result in an invalid schema ?. I didn't get what exactly you meant by in-memory validation. Thanks A Ton Regards Amit. -----Original Message----- From: Gareth Reakes [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 5:54 PM To: [EMAIL PROTECTED] Subject: Re: Validating Serialization Hi, > I am adding the elements to the DOM tree in the required sequence . > After i serialize the doc using the DOMWriter, the elements are not in the > required sequence. Is Are you sure about this? It seems likly that you are adding them in the wrong order. > there a way whereby, i can ensure that the serialized XML conforms to > my requirement ? The only way currently is to validate it again. We will do in memory validation eventaully. There is an additional DOM spec that we have no plans to implement currently that allows you to see if you edits still create a valid document. Gareth -- Gareth Reakes, Head of Product Development +44-1865-203192 DecisionSoft Limited http://www.decisionsoft.com XML Development and Services --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]