biztalk中没有文档实例(没有平面文件创建向导)的Postional文件架构创建 [英] Postional file schema creation without document instance (without flat file creation wizard) in biztalk

查看:137
本文介绍了biztalk中没有文档实例(没有平面文件创建向导)的Postional文件架构创建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

now i created flat file schema( for positional file) and my complexity is, For a scenario 10segments will be avaliable in the schema file all are optional elements so i fixed as min occur as 0, max occurs 36, 
For e.g: Generated instance to be like this 
<pre><Header>
<SEG1>
<SEG1_child1>111</SEG1_child1>
</SEG1>
<SEG2>
<SEG2_child1>222</SEG2_child1>
</SEG2>
<SEG3>
<SEG3_child1>333</SEG3_child1>
</SEG3><!-- upto SEG10-->
</Header>
</pre>

this can be generated while validating instance.(input: 111222333444555666777888999000),

now the input file like this (111222444555666888) means the output like this 
<pre>
<Header>
<SEG1>
<SEG1_child1>111</SEG1_child1>
</SEG1>
<SEG2>
<SEG2_child1>222</SEG2_child1>
</SEG2>
<SEG3>
<SEG3_child1>444</SEG3_child1>
</SEG3><!-- upto SEG10-->
</Header>
</pre>


My Question is: i want the output instance like this,
<pre>&lt;Header>
<SEG1>
<SEG1_child1>111</SEG1_child1>
</SEG1>
<SEG2>
<SEG2_child1>222</SEG2_child1>
</SEG2>
<SEG4>
<SEG4_child1>444</SEG4_child1>
</SEG4>
<SEG5>
<SEG5_child1>555</SEG5_child1>
</SEG5>
<SEG6>
<SEG6_child1>666</SEG6_child1>
</SEG6>
<SEG8>
<SEG8_child1>888</SEG8_child1>
</SEG8>
</Header>
</pre>


even i used  here as tag identifier concept means looking for so& so tag name,
offset concept also not working here,
:~





我有什么试过:



i已经厌倦了使用平面文件架构向导创建以及手动创建的平面文件架构,现在我遇到了这类问题,同时验证了实例文件。



What I have tried:

i have tired using flat file schema wizard creation as wel as manually created flat file schema, now am getting this type of problem, while validate the instance file.

推荐答案

现在我创建了平面文件模式(用于位置文件),我的复杂性是,对于一个场景,10个分段将在模式文件中可用所有都是可选的元素所以我固定为min出现为0,max出现36,

例如:生成的实例是这样的

now i created flat file schema( for positional file) and my complexity is, For a scenario 10segments will be avaliable in the schema file all are optional elements so i fixed as min occur as 0, max occurs 36,
For e.g: Generated instance to be like this
<Header>
<seg1>
<seg1_child1>111</seg1_child1>
</seg1>
<seg2>
<seg2_child1>222</seg2_child1>
</seg2>
<seg3>
<seg3_child1>333</seg3_child1>
</seg3><!-- upto SEG10-->
</Header>





这可以在验证实例时生成。(输入:111222333444555666777888999000),



现在像这样的输入文件(111222444555666888)意味着像这样的输出



this can be generated while validating instance.(input: 111222333444555666777888999000),

now the input file like this (111222444555666888) means the output like this

<Header>
<seg1>
<seg1_child1>111</seg1_child1>
</seg1>
<seg2>
<seg2_child1>222</seg2_child1>
</seg2>
<seg3>
<seg3_child1>444</seg3_child1>
</seg3><!-- upto SEG10-->
</Header>







我的问题是:我希望输出实例像这个,




My Question is: i want the output instance like this,

<Header>
<seg1>
<seg1_child1>111</seg1_child1>
</seg1>
<seg2>
<seg2_child1>222</seg2_child1>
</seg2>
<seg4>
<seg4_child1>444</seg4_child1>
</seg4>
<seg5>
<seg5_child1>555</seg5_child1>
</seg5>
<seg6>
<seg6_child1>666</seg6_child1>
</seg6>
<seg8>
<seg8_child1>888</seg8_child1>
</seg8>
</Header>







即使我在这里用作标签标识符概念意味着寻找对于这样的&所以标签名称,

偏移概念在这里也不起作用,

:〜




even i used here as tag identifier concept means looking for so& so tag name,
offset concept also not working here,
:~


这篇关于biztalk中没有文档实例(没有平面文件创建向导)的Postional文件架构创建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆