<node xsi:nil =“true”>和<node xsi:nil =“true”> </node>之间是否有区别?</node>

时间:2013-09-16 14:46:09

标签: xml biztalk null

根据标题,

之间存在语法差异
<node xsi:nil="true" />

<node xsi:nil="true"></node>

xlmns:xsi为“http://www.w3.org/2001/XMLSchema-instance

我正在尝试在BizTalk映射中的两种模式格式之间进行映射,输出xml是WCF请求消息。某些字段被定义为Nullable,但在映射过程中会抛出此错误:

<Type>System.FormatException</Type></InnerException><Message>The value '' cannot be parsed as the type 'Int32'.</Message><StackTrace>   at System.Xml.XmlConverter.ToInt32(String value)

1 个答案:

答案 0 :(得分:0)

不,没有区别。它们是写同一件事的不同方式。

相关问题