Quick xml schema question

Associate
Joined
18 Oct 2002
Posts
475
Location
Southampton
Ok quick question. I made a schema file http://70.190.220.164:82/mapXML.xsd - i need this check an xml file and force everything to be in order and disallow any unrecognised tags.

At the moment i have something like this

Code:
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://70.190.220.164:82/mapXML.xsd"
		   elementFormDefault="qualified"
           attributeFormDefault="qualified">
  <connectionList>
    <connection connectionURL="">
      <databaseList>
        <database databaseName="" priref="">
          <brieffields>
            <field type=""/>
          </brieffields>
          <detailfields>
            <field type=""/>
          </detailfields>
        </database>
      </databaseList>
    </connection>
  </connectionList>
</schema>

how do i force it? I don't want to do it explicitly with prefixes - but i want the checking to be tight.
thanks

sp!ke
 
Back
Top Bottom