Permalink
Browse files

Add support for expressions in labels to XML mapfile XSD and XSL

  • Loading branch information...
markathomas committed Sep 27, 2013
1 parent a09f2ae commit 8b767ffeee94501b3270c90fc59154395b41bed4
Showing with 5 additions and 0 deletions.
  1. +1 −0 xmlmapfile/mapfile.xsd
  2. +4 −0 xmlmapfile/mapfile.xsl
@@ -280,6 +280,7 @@
<xs:element name="colorAttribute" type="ms:attributeType"/>
</xs:choice>
<xs:element name="encoding" minOccurs="0"/>
<xs:element name="expression" type="ms:expressionType" minOccurs="0"/>
<xs:element name="font" type="xs:string" minOccurs="0"/>
<xs:element name="force" type="ms:booleanEnum" default="FALSE" minOccurs="0"/>
<xs:element name="maxLength" type="xs:integer" default="0" minOccurs="0"/>
@@ -609,6 +609,10 @@
<xsl:with-param name="node" select="'ms:encoding'"/>
<xsl:with-param name="quote" select="1"/>
</xsl:call-template>
<xsl:call-template name="printExpression">
<xsl:with-param name="indent" select="$indent"/>
<xsl:with-param name="node" select="'ms:expression'"/>
</xsl:call-template>
<xsl:call-template name="print">
<xsl:with-param name="indent" select="$indent"/>
<xsl:with-param name="node" select="'ms:font'"/>

0 comments on commit 8b767ff

Please sign in to comment.