Validate Metadata Multiple, XML Schema Validation and XSLT Transformation Tools
Validate Metadata Multiple
How to use Validate
Metadata Multiple Tool in ArcToolbox ArcMap ArcGIS??Validate Metadata Multiple
Path to access the tool
:
Validate
Metadata Multiple Tool, Metadata Toolset, Conversion Toolbox
Validate Metadata Multiple
Exports metadata for
many ArcGIS items to a designated folder and validates the exported files. This
tool is a model that uses the Validate Metadata tool to validate metadata for
many ArcGIS items.
1. Source Metadata
The item whose metadata
will be validated or a stand-alone XML file that will be validated.
2. Translator
An XML file that defines
the conversion that will be performed.
The translator files
provided with ArcGIS Desktop can be found in the <ArcGIS Installation
Location>\Metadata\Translator folder. The following translators are
provided:
- ARCGIS2FGDC.xml—Translates content stored in the ArcGIS metadata format to the FGDC CSDGM XML format. This translator is used by default when you export metadata from the Description tab using the FGDC CSDGM Metadata style. Metadata is converted using an XSLT transformation and won't produce a log file.
- ARCGIS2ISO19139.xml—Translates content stored in the ArcGIS metadata format to the ISO 19139 XML format. This translator is used by default when you export metadata from the Description tab using any of the ISO-based metadata styles. It is the preferred translator for exporting metadata to the ISO 19139 XML format. Metadata is converted using an XSLT transformation and won't produce a log file.
- ESRI_ISO2ISO19139.xml—Translates content stored in either the ArcGIS metadata format or the ESRI-ISO metadata format to the ISO 19139 XML format. This translator is provided for backward compatibility to support existing models and Python scripts. It has some known limitations with exporting metadata to the ISO 19139 XML format. Use the ARCGIS2ISO19139.xml translator instead. Metadata is converted using the Esri Metadata Translator tool's translation engine and produces a log file containing messages produced by the translation engine.
- FGDC2ESRI_ISO.xml—Translates content stored in the FGDC CSDGM XML format to the ArcGIS metadata format; that is, it translates metadata content that is visible under the FGDC Metadata (read-only) heading on the Description tab. This translator is used when you import FGDC-formatted metadata by running the Import Metadata tool with the FROM_FGDC type and when you upgrade metadata by running the Upgrade Metadata tool with the FGDC_TO_ARCGIS type. Metadata is converted using the Esri Metadata Translator tool's translation engine and produces a log file containing messages produced by the translation engine.
- FGDC2ISO19139.xml—Translates content stored in the FGDC CSDGM XML format to the ISO 19139 XML format; that is, it translates metadata content that is visible under the FGDC Metadata (read-only) heading on the Description tab. Metadata is converted using the Esri Metadata Translator tool's translation engine and produces a log file containing messages produced by the translation engine.
- ISO19139_2ESRI_ISO.xml—Translates content stored in the ISO 19139
XML format to the ArcGIS metadata format. This translator is used when you
import ISO 19139-formatted metadata by running the Import Metadata tool with
the FROM_ISO_19139 type. Metadata is converted using the Esri Metadata
Translator tool's translation engine and produces a log file containing
messages produced by the translation engine.
3. Schema URL
The XML Schema or XML
DTD that describes the structure and content of a valid XML document.
4. Namespace URI (optional)
The XML namespace that
will be validated for an XML Schema, if appropriate, or the root element of the
document for an XML DTD.
5. Output Folder
An existing folder where the output XML files containing the converted metadata will be stored.
XML Schema Validation
How to use XML Schema
Validation Tool in ArcToolbox ArcMap ArcGIS??XML Schema Validation
Path to access the tool
:
XML
Schema Validation Tool, Metadata Toolset, Conversion Toolbox
XML Schema Validation
Validates an ArcGIS
item's metadata or any XML file using the .NET 3.5 Framework's XML software.
The XML is checked to see if it follows the structure and content rules
outlined by an XML schema. Schemas written using the DTD or W3C XML Schema
languages may be used with this tool.
ArcGIS metadata is not
formatted in a manner that can be directly validated against an XML schema.
However, other metadata geoprocessing tools can export ArcGIS metadata to XML
files that are formatted to follow a metadata standard's XML Schema or DTD; use
this tool to validate the exported XML file or a stand-alone metadata XML file
that is already formatted correctly for a metadata standard's XML schema.
If the metadata or XML
file is not valid for the specified XML Schema or DTD, the warnings or errors
returned by the XML software will appear in the tool's messages.
1. Source Metadata
The item whose metadata
will be validated or a stand-alone XML file that will be validated.
2. Schema URL
The XML Schema or XML DTD that describes the structure and content of a valid XML document.
3.
Namespace URI (optional)
The XML namespace that will be validated for an XML Schema, if appropriate, or the root element of the document for an XML DTD.
XSLT Transformation
How to use XSLT
Transformation Tool in ArcToolbox ArcMap ArcGIS??XSLT Transformation
Path to access the tool
:
XSLT
Transformation Tool, Metadata Toolset, Conversion Toolbox
XSLT Transformation
Uses the .NET 3.5 XML
software to transform an ArcGIS item's metadata or any XML file using an XSLT
1.0 stylesheet and save the result to an XML file.
XSLT stylesheets can be
used to perform a variety of modifications to ArcGIS metadata or an XML file.
Several XSLT stylesheets are provided with ArcGIS Desktop. They can be used to
save a copy of an item's metadata to an XML file, save a copy of the metadata
display to an HTML file, and change an item's metadata content. These XSLT
stylesheets can be found in the <ArcGIS Installation
Location>\Metadata\Stylesheets folder.
You can create your own
XSLT stylesheets to perform tasks using the provided stylesheets as examples.
For example, you might write a stylesheet to do the following:
- Update addresses or phone numbers. Create a model that runs this process and uses the Metadata Importer tool to save the updated metadata to the original ArcGIS item.
- Remove information that you do not want publicly available before exporting or publishing the metadata. Create a model that runs this process before running the Export Metadata or Metadata Publisher tools.
- Export information to an XML or HTML file that can be incorporated into a website. Create a script that runs this process periodically.
XSLT stylesheets that
modify ArcGIS metadata should not remove information in the Esri and Binary
metadata elements except when the output XML will be used outside of ArcGIS.
1. Source Metadata
The item whose metadata
will be converted or a stand-alone XML file that will be converted.
2.
Input XSLT
A W3C-compliant XSLT 1.0
stylesheet file that defines the transformation that will be performed.
Several stylesheets are
provided with ArcGIS and are available in the <ArcGIS Installation
Location>\Metadata\Stylesheets folder.
3.
Output File
A file that will be
created containing the converted metadata.
The type of file created
depends on the output method specified in the XSLT stylesheet.
4.
XSLT Parameter (optional)
An XML file or string
that will be passed to the XSLT stylesheet.
To capture this parameter in the XSLT stylesheet, add to the top of the XSLT stylesheet after the xsl:output element and before the first xsl:template element. See the add unique identifier.xslt file for an example.
Comments
Post a Comment