Jump to content

Validate XML in MS Access 2007 VBA

Vladimir Cvajniga

Recommended Posts

Hi, all, This is a header of my XML-document:

<?xml version="1.0" encoding="WINDOWS-1250"?><alsX1:VykazPAPSouhrn xsi:schemaLocation="urn:cz:isvs:micr:schemas:PAP:Prehled:v1 CV30_PAP_souhrn.xsd" xmlns="urn:cz:isvs:micr:schemas:PAP:Prehled:v1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:acc="urn:cz:isvs:micr:schemas:AccountTypes:v1" xmlns:cmn="urn:cz:isvs:micr:schemas:CommonTypes:v1" xmlns:bus="urn:cz:isvs:micr:schemas:BusinessTypes:v2" xmlns:stm="urn:cz:isvs:micr:schemas:StatementTypes:v1" xmlns:alsX1="urn:cz:isvs:micr:schemas:PAP:Prehled:v1"><alsX1:VykazHlavicka>

1. Do I need a local/remote schema to validate the XML-document against schema? IMHO, there's full information in the header.2. How can I validate such document using VBA & MSXML2? I have tried many exampled (found on the web) but no luck so far. :-( Thank you very much in advance.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...