XSLT转换 为何多出一空格
原XML:
<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:PropertyIsGreaterThan>
<ogc:PropertyName>changeDate</ogc:PropertyName>
<ogc:Literal>ab</ogc:Literal>
</ogc:PropertyIsGreaterThan>
</ogc:Filter>
XSL转换段:
<xsl:template match="ogc:PropertyIsGreaterThan">
<xsl:choose>
<xsl:when test="ogc:PropertyName and ogc:Literal">
<RangeQuery fld="{ogc:PropertyName}" lowerTxt="{ogc:Literal}" inclusive="false"/>
</xsl:when>
<xsl:otherwise>
<error type="Unknown content of expression">
<xsl:copy-of select="."/>
</error>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
转换结果:
<RangeQuery inclusive="false" lowerTxt=" ab" fld="changeDate" />
请问:为何转出的结果当中lowerTxt段会多出一空格?