Skip to main content
Question

What is the best practice for GML manipulation, when need to transform GML from one to another schema (changes in XSD schema)?

  • April 20, 2016
  • 0 replies
  • 10 views

arekpierchala
Contributor
Forum|alt.badge.img+1

I need to transform GML to other regarding to new XSD schema. I've got following problem, pointed during oldGML validation by new XSD schema:

  • Element <gmd:CI_ResponsibleParty> is not allowed under element <przedstawiciel>
  • Element <zrodlo> is not allowed at this location under element <GES_BudowlaPodziemna>
  • Further elements required under element <wladajacy>
  • Value 'BrakInformacji' is not allowed for element <bt:lokalnyId>
  • Value 'zasuwa' is not allowed for element <rodzajUrzadz>.

Some of them looks simple ("Value ...is not allowed") but changes of schema elements relations seems to bring some difficulties. What is the best practice to handle such GML tranformation? Attribute mapping using XMLTemplater? Constructing XSLT file or something else?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.