Presentation is loading. Please wait.

Presentation is loading. Please wait.

XSLT transforms Mapping from Different Metadata Standards.

Similar presentations


Presentation on theme: "XSLT transforms Mapping from Different Metadata Standards."— Presentation transcript:

1 XSLT transforms Mapping from Different Metadata Standards

2 Creating ISO Metadata Creating ISO 19115 or -2 metadata in multiple ways From existing FGDC CSDGM Metadata From templates From scratch FGDC Metadata Guidance http://www.fgdc.gov/metadata/geospatial- metadata-standards

3 Creating ISO Metadata via Transforms Extensible Stylesheet Language Transformations (XSLT) is an XML-based language used for the transformation of XML documents into other XML or "human-readable" documents via stylesheets (XSL). The original document is not changed; rather, a new document is created based on the content of an existing one. It does NOT guarantee valid XML records against a particular schema!!!! (simply displays the content in a new way.)

4 Transforming Metadata This is a part of the mapping for FGDC CSDGM to ISO 19115. Comments are Best Practices or Questions

5 Your input here is an xml version of a CSDGM record. XSLT Transformation csdgm2iso19115.xslt Your result is an xml instance of an ISO 19115 record. Transforming Metadata

6 Transforming FGDC Metadata using XMLSpy 1.Open XMLSpy XML Editor 2.Open FGDC RSE XML file named Metadata to Transform.xml 3.Select F10 or XSL/XQuery>XSL Transformation Select transform (RSE to ISO use fgdcrse2iso19115-2.xsl) 4.Run transformation

7 Clue this is FGDC RSE so must use correct transform

8 Transforming FGDC Metadata using 1.Open XML Editor 2.Open FGDC RSE XML file named Metadata to Transform.xml 3.Set up transformation scenario (only needs to be set-up for the first time) Name the scenario such as “RSE to ISO 19115-2” Select transform and transformation engine (RSE to ISO use fgdcrse2iso19115-2.xsl and select Saxon-PE or EE transformers) 4.Run transformation

9

10

11

12

13 Transforming FGDC Metadata using MERMAid 1.From record level select “Export” tab 2.Select ISO 19115-2 select “Produce View” button 3.New window will pop-up 4.Use “Save As…” to save file 5.Repeat for ISO 19110 – if record contains Section 5 Entity & Attributes

14 1 2 3

15

16 Other Transformations ISO to FGDC DIF to ISO FGDC THREDDS netCDF to ISO Various ISO and FGDC views Custom transforms – (from databases to metadata standards)

17 Transforming Metadata http://www.ncddc.noaa.gov/metadata-standards/metadata-xml/

18 XSL stylesheets Changing the Look and Feel of the HTML view

19

20

21 Different Record Views

22 Base XML

23 “Get Data” view

24 FAQ view

25 HTML View

26 QUESTIONS? ncddcmetadata@noaa.gov


Download ppt "XSLT transforms Mapping from Different Metadata Standards."

Similar presentations


Ads by Google