Knockout.js 请求xml中的数据未存储在SQL中。该字段显示空值
我使用xsl映射数据,但请求xml中的数据没有存储在SQL中。它显示该文件的空值。请帮助我解决此问题。我在xsl文件中的代码如下所示: 。。Knockout.js 请求xml中的数据未存储在SQL中。该字段显示空值,knockout.js,Knockout.js,我使用xsl映射数据,但请求xml中的数据没有存储在SQL中。它显示该文件的空值。请帮助我解决此问题。我在xsl文件中的代码如下所示: 。。 现在,我的问题是请求xml中的ethinicity和race的值。但是,当我检查i DBSQL时,相同的是,仅存储ethinicity值,而不存储race值。您的问题缺少足够的信息来诊断问题。请更详细地描述您的问题,或者在问题本身中包含一个最小的示例 l:with-param name="AttributeName" select="'HMDAEthni
现在,我的问题是请求xml中的ethinicity和race的值。但是,当我检查i DBSQL时,相同的是,仅存储ethinicity值,而不存储race值。您的问题缺少足够的信息来诊断问题。请更详细地描述您的问题,或者在问题本身中包含一个最小的示例
l:with-param name="AttributeName" select="'HMDAEthnicityType'"/>
<xsl:with-param name="InterfaceVersion" select="$InterfaceVersion"/>
<xsl:with-param name="MISMOFieldName" select="'HMDAEthnicityType'"/>
<xsl:with-param name="Value" select="."/>
</xsl:call-template>
</xsl:template>
<xsl:template match="GOXGFTLBRRACE"
mode="BorrowerHMDARace">
<xsl:apply-templates select="@BorrowerRace"
mode="BorrowerHMDARace"/>
</xsl:template>
<gfsdoc:Mapping MISMOField="HMDARaceType" GFXObject="GOXGFTLBRRACE" GFXProperty="BorrowerRace"/>
<xsl:template match="GOXGFTLBRRACE/@BorrowerRace" mode="BorrowerHMDARace">
<xsl:element name="HMDA_RACE"
namespace="{$mismoNameSpace}">
<xsl:call-template name="MakeMISMOAttribute">
<xsl:with-param name="AttributeName" select="'_Type'"/>
<xsl:with-param name="InterfaceVersion" select="$InterfaceVersion"/>
<xsl:with-param name="MISMOFieldName" select="'HMDARaceType'"/>
<xsl:with-param name="Value"
select="."/>
</xsl:call-template>
</xsl:element>
</xsl:template>
now for this code i am using an virtual machine in which code for same is like:
<gfsdoc:Mapping MISMOField="HMDAEthnicityType" GFXObject="GOXGFTLBRADDITIONALDATA" GFXProperty="Ethinicity"/>
<xsl:template match="GOVERNMENT_MONITORING/@HMDAEthnicityType" mode="GoxGftlbradditionaldata">
<xsl:call-template name="GetMISMOAttribute">
<xsl:with-param name="AttributeName" select="'Ethinicity'"/>
<xsl:with-param name="InterfaceVersion" select="$InterfaceVersion"/>
<xsl:with-param name="MISMOFieldName" select="'HMDAEthnicityType'"/>
<xsl:with-param name="Value" select="."/>
</xsl:call-template>
</xsl:template>
<xsl:template match="HMDA_RACE" mode="GoxGftlbrrace">
<xsl:if test="position() > 1">
<xsl:element name="GOXGFTLBRRACE">
<xsl:apply-templates select="@*" mode="GoxGftlbrrace"/>
</xsl:element>
</xsl:if>
</xsl:template>
<gfsdoc:Mapping MISMOField="HMDA_RACEType" GFXObject="GOXGFTLBRRACE" GFXProperty="BorrowerRace"/>
<xsl:template match="HMDA_RACE/@_Type" mode="GoxGftlbrrace">
<xsl:call-template name="GetMISMOAttribute">
<xsl:with-param name="AttributeName" select="'BorrowerRace'"/>
<xsl:with-param name="InterfaceVersion" select="$InterfaceVersion"/>
<!--<xsl:with-param name="MISMOFieldName" select="'HMDARaceType'"/>-->
<xsl:with-param name="MISMOFieldName" select="'HMDA_RACEType'"/>
<xsl:with-param name="Value" select="."/>
</xsl:call-template>
</xsl:template>