删除多余空格
<xsl:template name="board-basis">
<xsl:param name="boardBasis" />
<xsl:variable name="mealPlan" select="http://www.cnblogs.com/http://www.cnblogs.com/../*:Segment/*:MealPlan" />
<xsl:if test="$mealPlan != ''">
<xsl:variable name="value">
<xsl:value-of select="$mealPlan/text()" />
</xsl:variable>
<boardBasis>
<xsl:value-of select="normalize-space($value)" />
</boardBasis>
</xsl:if>
</xsl:template>