Ian, AOK, I used TextEdit on the Mac and created a file with the code. At first TextEdit would not let me save the file with xsl as the suffix, but when I changed it on my Desktop the Icon indicated a Safari - Browser document.
Here is the content of that file:
w:defaultTabStop w:val="720"/><?xml version="1.0" encoding="utf-8"?><xsl:stylesheet version="1.0" xmlns:xsl="
http://www.w3.org/1999/XSL/Transform"><xsl:output method="html" version="1.0" encoding="iso-8859-1" indent="yes"/><xsl:template match="/">Â <html>Â Â <head>Â Â <title>Keywords in Catalog '<xsl:value-of select="CatalogType/Catalog"/>'</title>Â Â </head>Â Â <body>Â Â <p>Sorted list of Keywords <b>used</b> in catalog '<xsl:value-of select="CatalogType/Catalog"/>'</p>Â Â <ul>Â Â Â <xsl:for-each select="CatalogType/MediaItemList/MediaItem/AnnotationFields/Keyword">Â Â Â <xsl:sort select="." order="ascending" data-type="text"/>Â Â Â <xsl:choose>Â Â Â Â <xsl:when test="position() > 1 and not(. = ./preceding::node())">Â Â Â Â <li>Â Â Â Â Â <xsl:value-of select="."/>Â Â Â Â </li>Â Â Â Â </xsl:when>Â Â Â Â <xsl:when test="position() = 1">Â Â Â Â <li>Â Â Â Â Â <xsl:value-of select="."/>Â Â Â Â </li>Â Â Â Â </xsl:when>Â Â Â </xsl:choose>Â Â Â </xsl:for-each>Â Â </ul>Â Â </body>Â </html></xsl:template></xsl:stylesheet>
When I followed your instructions in a test iView catalog, it produced a file named "Catalog-4.xml" but I still got the error message. Here is the content of that xml file - per your previous suggestion I removed my contact info from this sample:
DRV_135:WEIDMAN_090609_C5R9098_MSTR.tif</Filepath>
<UniqueID>2</UniqueID>
<Label>0</Label>
<Rating>1</Rating>
<MediaType>TIFF</MediaType>
<FileSize unit="Bytes">75645100</FileSize>
<Created>2009:06:14 13:55:49</Created>
<Modified>2009:06:20 13:54:40</Modified>
<Added>2009:06:24 17:30:35</Added>
<Annotated>2009:06:16 18:14:39</Annotated>
</AssetProperties>
<AnnotationFields>
<Headline>The yellow blossoms of Thermopsis montana (Golden Banner) line RD 12 near Kebler Pass (9980'), West Elk Mountains, Ruby Range, Gunnison National Forest, Colorado, USA</Headline>
<Product>The yellow blossoms of Thermopsis montana (Golden Banner) line RD 12 near Kebler Pass (9980'), West Elk Mountains, Ruby Range, Gunnison National Forest, Colorado, USA</Product>
<Author>H. Mark Weidman</Author>
<AuthorTitle>Photographer</AuthorTitle>
<CreatorAddress> Drive</CreatorAddress>
<CreatorCity></CreatorCity>
<CreatorState></CreatorState>
<CreatorPostcode></CreatorPostcode>
<CreatorCountry>USA</CreatorCountry>
<CreatorPhone></CreatorPhone>
<CreatorEmail></CreatorEmail>
<CreatorURL></CreatorURL>
<Credit>H. Mark Weidman</Credit>
<Copyright>© 2009 H. Mark Weidman, All Rights Reserved</Copyright>
<Rights>No usage rights granted without express written permission by photographer.</Rights>
<URL>www.weidmanphoto.com</URL>
<Location>Kebler Pass, Gunnison National Forest</Location>
<State>CO</State>
<Country>USA</Country>
<Caption>The yellow blossoms of Thermopsis montana (Golden Banner) line RD 12 near Kebler Pass (9980'), West Elk Mountains, Ruby Range, Gunnison National Forest, Colorado, USA. Golden Banner is also known as "False Lupine" because the pea-shaped flowers of Golden Banner and Lupine are similar. The genus name even recognizes this similarity: "thermos" is Greek for "Lupine" and "opsis" is Greek for "similar".</Caption>
<Keyword>Colorado</Keyword>
<Keyword>USA</Keyword>
<Keyword>west</Keyword>
<Keyword>western</Keyword>
<Keyword>color</Keyword>
<Keyword>country</Keyword>
<Keyword>destination</Keyword>
<Keyword>direct</Keyword>
<Keyword>drive</Keyword>
<Keyword>fast</Keyword>
<Keyword>freedom</Keyword>
<Keyword>freeway</Keyword>
<Keyword>landscape</Keyword>
<Keyword>motion</Keyword>
<Keyword>movement</Keyword>
<Keyword>nature</Keyword>
<Keyword>outdoor</Keyword>
<Keyword>outdoors</Keyword>
<Keyword>path</Keyword>
<Keyword>perspective</Keyword>
<Keyword>road</Keyword>
<Keyword>rural</Keyword>
<Keyword>scenery</Keyword>
<Keyword>scenic</Keyword>
<Keyword>speed</Keyword>
<Keyword>speedway</Keyword>
<Keyword>transport</Keyword>
<Keyword>transportation</Keyword>
<Keyword>travel</Keyword>
<Keyword>view</Keyword>
<Keyword>way</Keyword>
<Keyword>lane</Keyword>
<Keyword>route</Keyword>
<Keyword>venture</Keyword>
<Keyword>transit</Keyword>
<Keyword>dirt</Keyword>
<Keyword>gravel</Keyword>
<Keyword>rough</Keyword>
<Keyword>wildflowers</Keyword>
<Keyword>flowers</Keyword>
<Keyword>blossom</Keyword>
<Keyword>petal</Keyword>
<Keyword>colorful</Keyword>
<Keyword>remote</Keyword>
<Keyword>Lupin</Keyword>
<Keyword>Lupine</Keyword>
<Keyword>sunflowers</Keyword>
<Keyword>Kebler Pass</Keyword>
<Keyword>West Elk Mountains</Keyword>
<Keyword>Ruby Range</Keyword>
<Keyword>Gunnison Natioinal Forest</Keyword>
<Keyword>green</Keyword>
<Keyword>yellow</Keyword>
<Keyword>blue</Keyword>
<Keyword>purple</Keyword>
<Keyword>springtime</Keyword>
<Keyword>summer</Keyword>
<Keyword>Thermopsis montana</Keyword>
<Keyword>Golden Banner</Keyword>
<Keyword>Better</Keyword>
</AnnotationFields>
<UserFields>
<UserField_1>Alamy</UserField_1>
</UserFields>
</MediaItem>
<MediaItem>
<AssetProperties>