|
NAMEXML::Validate::MSXML - Interface to MSXML validatorSYNOPSISmy $validator = new XML::Validate::MSXML(%options); if ($doc = $validator->validate($xml)) { ... Do stuff with $doc ... } else { print "Document is invalid\n"; } DESCRIPTIONXML::Validate::MSXML is an interface to Microsoft's MSXML parser (often available in Windows environments) which can be used with the XML::Validate module.METHODS
Note that the error gets cleared at the beginning of each "validate" call.
OPTIONSXML::Validate::MSXML takes the following options:
ERROR REPORTINGWhen a call to validate fails to parse the document, the error may be retrieved using last_error.On errors not related to the XML parsing, these methods will throw exceptions. Wrap calls with eval to catch them. PACKAGE GLOBALS$XML::Validate::MSXML::MSXML_VERSION contains the version number of MSXML.DEPENDENCIESWin32::OLE, MSXML 4.0 or 5.0VERSION$Revision: 1.18 $ on $Date: 2006/04/18 10:00:31 $ by $Author: mattheww $AUTHORNathan Carr, Colin Robertson<cpan _at_ bbc _dot_ co _dot_ uk> COPYRIGHT(c) BBC 2005. This program is free software; you can redistribute it and/or modify it under the GNU GPL. See the file COPYING in this distribution, or http://www.gnu.org/licenses/gpl.txt
Visit the GSP FreeBSD Man Page Interface. |