250 likes | 263 Views
Explore various applications and tools for transforming XML documents, such as FGDC to ISO, ISO to FGDC, and other dialects. Learn about XML editors, GUI editors, validation tools, schemas, and more.
E N D
Applications and Tools Jaci Mize NOAA/NESDIS/NODC/NCDDC Rob Dollison USGS
Applications and Tools • What Tools are Available • Transforms • FGDC to ISO • ISO to FGDC • Other Dialects • Stylesheets • HTML Views • Rubrics • ISO Metadata Editors • XML Editors • GUI Editors • ISO Validation and Resolver • Schemas • Namespaces • Metadata Publication
Transforms XML Doc New XML Doc XSLT • Transform aka XSLT • XML-based language used for the transformation of XML documents into other XML documents • Original document is not changed • New document is created based on the content of the existing one • Crosswalks identify HOW elements map to each other, transforms DO the mapping
FGDC to ISO Transforms • http://www.ncddc.noaa.gov/metadata-standards/metadata-xml/ • FGDC CSDGM to ISO 19115-2 • FGDC BIO to ISO 19115-2 • FGDC RSE to ISO 19115-2 • FGDC Sect. 5 E&A to ISO 19110
MERMAid https://mermaid.ncddc.noaa.gov/request-account
Other Transforms • Email: ncddcmetadata@noaa.gov(in development) • ISO 19115-2 to FGDC CSDGM • ISO 19115-2 to FGDC RSE • EML to FGDC • FGDC to MARC • http://www.ngdc.noaa.gov/metadata/published/xsl/ • DIF to ISO 19115-2 • ISO to FGDC • http://www.ngdc.noaa.gov/eds/tds/ • netCDF to ISO
Stylesheets • Stylesheet aka XSL • XML-based language used for the transformation of XML documents into “Human-readable” documents • Original document is not changed • New document is created based on the content of the existing one • Stylesheets simply provide different “views” of the XML
ISO XML to HTML http://www.ncddc.noaa.gov/metadata-standards/metadata-xml/
ISO XML to Rubric View http://www.ngdc.noaa.gov/metadata/published/xsl/isoRubricHTML.xsl
ISO Metadata Editors • ISO Metadata Editor Review • http://www.fgdc.gov/participation/working-groups-subcommittees/mwg/isoreview/index_html • Desktop vs. Web Applications • GUI vs. XML
CatMDEdit http://catmdedit.sourceforge.net/ • PROS • ISO 19115, ISO 19110, ISO 19119, CSDGM, Dublin Core • Good validation • Ingest and export records • Auto generation for some file formats • Platform independent • Multilingual • GUI • Customizable • Open-source • Free • CONS • No ISO 19115-2, Biological, or NAP support • No search or common catalog • No transform engine • No XML attributes
GeoNetwork http://geonetwork-opensource.org/ • PROS • ISO 19115, ISO 19115-2, ISO 19110, ISO 19119, CSDGM, Dublin Core • Good validation • Ingest and export batch records • Search interface • Platform independent • Multilingual • GUI • Customizable • Common repository • Open-source • Free • CONS • Complicated start-up • Validation errors are hard to understand sometimes • No biological or NAP support • Transform engine cannot support Xpath 2.0 (FGDC-ISO transforms)
ISOMorph – in development Email: jmize@radiancetech.com • PROS • ISO 19115-2 • Good validation • Linked to workbooks • Platform independent • GUI • Customizable • Supports xlinks • Domain drop-downs • CONS • In development
ESRI Geoportal http://sourceforge.net/projects/geoportal/ • PROS • Partial FGDC CSDGM, BIO, RSE, ISO 19115, 19115-2, and 19110 • Auto populates some fields • Provides some drop-down menus • CONS • Does not support full standards • No ISO biological support • Transform engine cannot support Xpath 2.0 (FGDC-ISO transforms) • No XML attributes • Cannot edit auto populated fields
Altova XMLSpy http://www.altova.com/xmlspy.html • PROS • More power! • Support any standard if you have the schemas • Easy to edit • Batch functions • Nice graphics generated from schemas • Performs transformations • Performs validation • CONS • Expensive • Must know XML • No GUI
oXygen http://www.oxygenxml.com/ • PROS • More power! • Support any standard if you have the schemas • Easy to edit • Batch functions • Nice graphics generated from schemas • Performs transformations • Performs validation • CONS • Expensive • Must know XML • No GUI
ISO Validation Tools • Schema Validation • Uses schemas and namespace declarations • Defines the rules for the structure and content of XML documents • Schematrons • Rule-based validation language for making assertations about the presence of absence of elements or patterns in XML documents • Used in conjunction with schemas
ISO Validation Tips <gmi:MI_Metadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gco= “http://www.isotc211.org/2005/gco” xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:srv="http://www.isotc211.org/2005/srv" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:gsr="http://www.isotc211.org/2005/gsr" xmlns:gss="http://www.isotc211.org/2005/gss" xmlns:gts="http://www.isotc211.org/2005/gts" xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:gmi="http://www.isotc211.org/2005/gmi" xsi:schemaLocation="http://www.isotc211.org/2005/gmi http://www.ngdc.noaa.gov/metadata/published/xsd/schema.xsd">
Validation Checker and Xlink Resolver http://www.ngdc.noaa.gov/MetadataTransform/XLinkResolver.jsp