Skip to content

Commit

Permalink
Add support for expressions in labels to XML mapfile XSD and XSL
Browse files Browse the repository at this point in the history
  • Loading branch information
markathomas committed Sep 27, 2013
1 parent a09f2ae commit 8b767ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions xmlmapfile/mapfile.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -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"/>
Expand Down
4 changes: 4 additions & 0 deletions xmlmapfile/mapfile.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -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'"/>
Expand Down

0 comments on commit 8b767ff

Please sign in to comment.