Jump to content
Sign in to follow this  
Vladimir Cvajniga

Validate XML in MS Access 2007 VBA

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.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...