MapforceUserTips

From NGDCWiki

Revision as of 12:08, 22 January 2010 by Anna.milan (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

How to remove optional ISO codelists from appearing

The ISO XSD enables any gco:CharacterString element to be replaced with any of the ISO Codelists and this is what Altova MapForce is showing as optional. But it is VERY annoying. So to prevent Map Force from showing all of the optional elements, you have to edit your copy of the ISO XSD by adding a subsitution block.

  1. In this file:
    • /gco/basicTypes.xsd
  2. change this line from:
    • <xs:element name="CharacterString" type="xs:string"/>
  3. to
    • <xs:element name="CharacterString" type="xs:string" block="substitution"/>
Personal tools