Permalink
Browse files

Add missing max/minScaleDenom to xld/t files

  • Loading branch information...
seuros authored and tbonfort committed Dec 18, 2014
1 parent e17e69b commit f79aacc39fcd302f924dacba5c8faf1f4e8103aa
Showing with 10 additions and 0 deletions.
  1. +2 −0 xmlmapfile/mapfile.xsd
  2. +8 −0 xmlmapfile/mapfile.xsl
View
@@ -346,6 +346,8 @@
</xs:simpleType>
</xs:union>
</xs:simpleType>
+ <xs:element name="maxScaleDenom" type="xs:double" minOccurs="0"/>
+ <xs:element name="minScaleDenom" type="xs:double" minOccurs="0"/>
</xs:element>
<xs:element name="Style" type="ms:Style" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="text" type="xs:string" minOccurs="0"/>
View
@@ -694,6 +694,14 @@
<xsl:with-param name="node" select="'ms:wrap'"/>
<xsl:with-param name="quote" select="1"/>
</xsl:call-template>
+ <xsl:call-template name="print">
+ <xsl:with-param name="indent" select="$indent"/>
+ <xsl:with-param name="node" select="'ms:maxScaleDenom'"/>
+ </xsl:call-template>
+ <xsl:call-template name="print">
+ <xsl:with-param name="indent" select="$indent"/>
+ <xsl:with-param name="node" select="'ms:minScaleDenom'"/>
+ </xsl:call-template>
<xsl:call-template name="print">
<xsl:with-param name="text" select="'END'"/>
<xsl:with-param name="indent" select="$indent - 1"/>

0 comments on commit f79aacc

Please sign in to comment.