NIEM defines an XML standard (using XML Schemas) for government related business. Dan McCreary has written a good article on how to generate XForms starting with the NIEM standard: http://www.ibm.com/developerworks/library/x-xformsniem/
As Dan explains, using an industry standard XML Schema (e.g. NIEM, os-UBL-2.0, STAR) is very useful, but referencing the whole standard uses way too much resources when it comes to validating the xml instances. Instead, you need to generate a subset of the industry standard, just for the data in your project.
The tool that generates the subsets of the large XML Schema is an online tool on the NIEM website and only works on the NIEM standard. See http://niem.gtri.gatech.edu/niemtools/ssgt/index.iepd
My question: are there similar tools available for other standards. In other words, a tool where you select a certain schema element, where the tool automatically selects the dependent schema elements?
I would like to use the os-UBL-2.0 standard for example.
I already contacted NIEM, and they said their tool is only available online.
Message was edited by: WouterH
This topic has been locked.
2 replies Latest Post - 2012-12-09T22:09:47Z by SystemAdmin
Pinned topic Do you know a tool to generate a XML Schema subset similar to NIEM tools?
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-12-09T22:09:47Z at 2012-12-09T22:09:47Z by SystemAdmin
dmccreary 110000HUUR4 PostsACCEPTED ANSWER
Re: Do you know a tool to generate a XML Schema subset similar to NIEM tools?2008-11-24T14:19:11Z in response to SystemAdminThis is a three step process. First you build a metadata registry. Then you build a shopping cart using a wantlist editor. Then you build the actual subschema XQuery service. I have done this several time but not had the chance to open source the full code. Only fragments to date.
I am currently working on migrating all the NIEM tools to XForms tools to use XQuery. I will posts some of the samples and related tools here:
Feel free to make suggestions!
SystemAdmin 110000D4XK265 PostsACCEPTED ANSWER
Re: Do you know a tool to generate a XML Schema subset similar to NIEM tools?2012-12-09T22:09:47Z in response to dmccrearyYes! You can use the open source CAM Editor NIEM toolkit to freely perform this function. Import the schema you need the subset for, or visually build a new one using the NIEM drag and drop dictionary designer tool - then export to a new XSD schema using the NIEM 2.1 mode - and this will write your subset instantly. You can also build a matching JAXB binding and a SSGT wantlist at the same time.
For more information see: http://www.cameditor.org for the tool download and resource
and the companion site NIEM training videos - http://www.niemtrainingvideos.org