1

When I open item description in the ArcCatalog or ArcGIS Desktop i see the following html-file:

metadata formed by ArcCatalog

This file is generated automatically, but when i want to generate this via tool XSLT Tranformation or via arcpy.XSLTransform_conversion()

I get it:

metadata formed by tool

Why there is this difference and how fix it? I need to generate many files and I cannot manually edit each page or save each page generated by the ArcCatalog.

2
  • Did the answer match what you were looking for? if so, please accept it - thanks!!
    – Hélène
    Commented Jun 12, 2017 at 9:04
  • Thanks for your answer. Sorry if I incorrectly asked a question, I wanted to know why differs page layout of these html-files and how fix it.
    – Nagelfar
    Commented Aug 25, 2017 at 10:21

1 Answer 1

1

The XSLT conversion tool will use different tags for storing metadata. You would use it to convert existing ESRI-generated metadata to FGDC or ISO, for instance. I would be cautious about using this to create the metadata sheets.

As your aim is to create the metadata sheets, the tool you want to use is SynchronizeMetadata_conversion(source, synctype). Synchronize creates the metadata sheet if absent, or updates it if present (with parameters to choose what to update and what not).

It is a ArcToolbox tool, so you can use it in Arcpy/Python scripts or directly from the GUI.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.