Welcome to MSDN Blogs Sign in | Join | Help

Microsoft BizTalk Server

(Kerrey Zheng's view with BPI Products)
了解BizTalk Server 2004 (四)

在BTS04中如何从Well-Formed XML 或 DTD 生成一个架构?

首先需要执行"InstallDTS.vbs"或"InstallWFX.vbs"增加对应的组件,前者针对DTD,后者针对Well-Formed XML.这两个执行文件可以在"Program Files\Microsoft BizTalk Server 2004\SDK\Utilities\Schema Generator"目录中找到,双击执行就可以。

下面是一个名为Simple.xml的文件:

<SendMail >

  <To>Test</To>

  <CC>Test1</CC>

  <Subject>Testing</Subject>

  <EmailText>EmailText_0</EmailText>

  <Priority>Priority_0</Priority>

</SendMail>

在项目文件中右击鼠标选择Add> Add Generated Items,如下图:

选择Generate Schemas,然后在文件类型的下拉清单中选择Well-Formed XML,如下图:

浏览并选择之前生成的XML文件,点击OK,就可以在项目文件中看到对应的架构文件。

Posted: Monday, November 13, 2006 6:39 PM by Kerrey Zheng
Filed under:

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker