【发布时间】:2010-08-25 18:17:38
【问题描述】:
这是我们在 SharePoint 中的一个 XML 文件的一部分:
<BuildManifest nsprefix ="ns0" ns="http://tempuri.org/Eform_Schema.xsd" version="1.1">
<IdentifyInputParameters>
<BusinessObject ref="Request1" type="RequestProcessing_BL.Request" />
</IdentifyInputParameters>
<Metadata>
<Source ref="ThisForm" reflectionPath=".FormURL" />
<Destination xpath="//ns0:eForm" attribute="formURL">
</Destination>
</Metadata>
<Populate>
<Source ref ="Request1" reflectionPath=".RequestTypeGroupDisplayName" />
<Destination xpath="//ns0:eForm/descendant::ns0:data[@name='FirstName']"></Destination>
</Populate>
我的问题:
1- Eform_Schema.xsd 文件位于 SharePoint 的根目录中。命令 ns="http://tempuri.org/Eform_Schema.xsd" 如何到达它?
2- “nsprefix, ns, ref, type”是 XML 中的保留字吗?
3- xpath="//ns0:eForm/descendant::ns0:data[@name='FirstName'] 从数据库中获取名字。它是如何做到的?
谢谢,
艾哈迈德。
【问题讨论】: