首页 > 解决方案 > System.Xml.XmlException:第 104 行位置 10 上的“表”开始标记与“div”的结束标记不匹配。第 133 行,位置 5

问题描述

我收到异常错误: System.Xml.XmlException:第 104 行位置 10 上的“表”开始标记与“div”的结束标记不匹配。第 133 行,位置 5。

我们拥有的 HTML 代码似乎工作正常,但由于存在 xml 错误,有人可以帮忙看看是否是 xml 代码有问题吗?我对xml一无所知-是$吗?

<xsl:variable name="AllocationAmount"><xsl:value-of select="Allocation" /></xsl:variable> <xsl:variable name="AllocationFormatted">$<xsl:value-of select="format -number($AllocationAmount, '###,##0.00')" /></xsl:variable> <xsl:variable name="AvailableBalanceAmount"><xsl:value-of select="AvailableBalance" /></ xsl:variable> <xsl:variable name="AvailableBalanceFormatted">$<xsl:value-of select="format-number($AvailableBalanceAmount, '###,##0.00')" /></xsl:variable> <xsl:variable name="RequestedAmount"><xsl:value-of select="TotalRequestedAmount" /></xsl:variable> <xsl:variable name="RequestedFormatted">$<xsl:value-of select="格式数($RequestedAmount, '###,##0.00')" /></xsl:variable>

标签: htmlxml

解决方案


问题不在于您发布的片段,而在于其他地方。发布的片段不包含table开始标签。


推荐阅读