<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" 
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:php="http://php.net/xsl">
<xsl:output method="html" encoding="utf-8" indent="yes"/>

<xsl:template match="listings_galleries">
	<ul id="listings">
	<h2><xsl:value-of select="listings_location"/></h2>
		<xsl:apply-templates/>
	</ul>
</xsl:template>

<xsl:template match="listings_location">
<!--	<div style="visibility:hidden;position:absolute;"><xsl:apply-templates/></div>-->
</xsl:template>

<xsl:template match="listing">
	<li>
		<xsl:apply-templates/>
	</li>
</xsl:template>

<xsl:template match="listings_galleryname">
		<h3>
		<xsl:apply-templates/>
		</h3>
</xsl:template>

<xsl:template match="listings_galleryshow">
		<h4><xsl:apply-templates/></h4>
</xsl:template>

<xsl:template match="listings_galleryinfo">
		<pre><xsl:apply-templates/></pre>
</xsl:template>

</xsl:stylesheet>