<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text"/>

<!-- Map Viewer (Third Edition) by Howie Sternberg at howies@snet.net. Map Viewer is placed in the public domain and is "Freeware". Map Viewer may be freely used and redistributed, is provided "AS-IS" without warranty of any kind, and there is no technical support provided. --> 

<!-- Return delimeted string that includes map image url, map coordinates and legend url. Delimeter is vertical bar: | -->
<xsl:template match="ARCXML/RESPONSE/IMAGE">
	<xsl:value-of select="OUTPUT/@url"/>
	<text>|</text>
	<xsl:value-of select="ENVELOPE/@minx"/>
	<text>|</text>
	<xsl:value-of select="ENVELOPE/@miny"/>
	<text>|</text>
	<xsl:value-of select="ENVELOPE/@maxx"/>
	<text>|</text>
	<xsl:value-of select="ENVELOPE/@maxy"/>
	<text>|</text>
	<xsl:value-of select="LEGEND/@url"/>
</xsl:template>
</xsl:stylesheet>