Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

In ArcGIS 9.3, it was easy to export metadata into an HTML format. In ArcGIS 10, it looks like everything is in XML format and that there's no easy way to convert the XML to HTML.

Has anyone successfully exported layer metadata into an HTML format using ArcGIS 10?

share|improve this question
add comment

5 Answers 5

up vote 2 down vote accepted

Try the USGS MP Metadata Translator. I somehow missed it earlier, but it's producing all of the various HTML I'm familiar with.

alt text

Part 2:
I haven't had much luck with the XSLT Transformation Tool. In fact, no luck. But I'm an ArcGIS 10 client w/ ArcGIS Server 9.3.1.

I had filed an ESRI incident for a problem with the arcpy.ExportMetadata_conversion, so maybe they are all related. It sounds like there's a lot of metadata issues @ ArcGIS 10, so I haven't and won't spend a lot of time with ArcGIS 10 metadata until SP1 (or maybe SP2).

So far, I've been exporting to XML and then using msxsl.exe to process the XML with an XSL file from 9.3.

Here's an example of processing XML to HTML w/ a 9.3 FGDC FAQ XSL (that I copied from an existing 9.3 install--might be good to keep a copy of those handy on a usb drive):

msxsl wp_meta.xml "c:\temp\FGDC FAQ.xsl" -o wp_meta.html -u 3.0

It's not perfect but the xsl can always be tweaked to produce the HTML that you are after.

share|improve this answer
    
I'm in the same boat as you, AG10 against SDE 9.3. Thanks for the info. –  Michael Todd Oct 8 '10 at 14:21
add comment

Take a look at the XSLT Transformation GP tool to see if it will meet your needs. I have not used this tool myself and am not familiar with the stylesheets that are provided out-of-the-box.

share|improve this answer
add comment

ArcCatalog in ArcGIS 10 automatically generates an HTML file from metadata when you click on the "Description" tab. Right click the document and go to properties, the URL given is an HTML file. If you don't need to do any additional XSL transformations this may meet your needs.

share|improve this answer
add comment

Use the XSLT Transformation GP tool with the ArcGIS.xsl stylesheet. See the help on XSLT Transformation which has a section on "Export metadata to an HTML file" using a short python script. It looks like you can do the same with toolbox command, but I have not tested it.

share|improve this answer
add comment

just do an esri.request using the MapServer url with ?f=html appended... like:

http://services.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer?f=html

share|improve this answer
2  
While a service description like this contains metadata, they are referring to standard metadata formats associated with data. –  awesomo Jan 26 '13 at 19:44
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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