Hello, I want to validate the presentation of the XML document before writing it in the file.
-To enable parameters: my $parser = XML::Xerces::DOMParser->new(); $validate = $XML::Xerces::DOMParser::Val_Always; $parser->setValidationScheme($validate); $parser->setDoNamespaces(1); $parser->setToCreateXMLDeclTypeNode(1); $parser->setDoSchema(1); -modifications - Here I want to check the validation of the content, I don't know how!! -writing in the XML file What I got is that, I write the modification that I want but it does not validated before!! When I parse the modified file, then it tells me that the file is invalid. So what should I do to validate the tree at the nmoment of the modification (before writing in the file)?? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
