0

我有包含以下数据的txt文件:

1, Shailender, Singh, test@test.com, 98799, 5000, New Delhi, Delhi, India
2, Shailender, Singh, test@test.com, 98799, 5000, New Delhi, Delhi, India
3, Shailender, Singh, test@test.com, 98799, 5000, New Delhi, Delhi, India
4, Shailender, Singh, test@test.com, 98799, 5000, New Delhi, Delhi, India
5, Shailender, Singh, test@test.com, 98799, 5000, New Delhi, Delhi, India
6, Shailender, Singh, test@test.com, 98799, 5000, New Delhi, Delhi, India
7, Shailender, Singh, test@test.com, 98799, 5000, New Delhi, Delhi, India
8, Shailender, Singh, test@test.com, 98799, 5000, New Delhi, Delhi, India
9, Shailender, Singh, test@test.com, 98799, 5000, New Delhi, Delhi, India
10, Shailender, Singh, test@test.com, 98799, 5000, New Delhi, Delhi, India
11, Shailender, Singh, test@test.com, 98799, 5000, New Delhi, Delhi, India
12, Shailender, Singh, test@test.com, 98799, 5000, New Delhi, Delhi, India
13, Shailender, Singh, test@test.com, 98799, 5000, New Delhi, Delhi, India
14, Shailender, Singh, test@test.com, 98799, 5000, New Delhi, Delhi, India
15, Shailender, Singh, test@test.com, 98799, 5000, New Delhi, Delhi, India
16, Shailender, Singh, test@test.com, 98799, 5000, New Delhi, Delhi, India
17, Shailender, Singh, test@test.com, 98799, 5000, New Delhi, Delhi, India

考虑上述格式的 txt 文件中有 20 条记录。

现在我需要从上面的文件中创建多个 txt 文件,每个 txt 文件中最多有 7 条记录。

4

1 回答 1

0

使用标准平面文件向导生成您的模式,假设记录数不受限制(未绑定)。

然后,手动将“Line”节点(不是根节点)的 Max Occurs 属性从“Unbounded”更改为“7”。BizTalk 会将入站文档拆分为最多 7 条记录的组。

于 2012-01-15T22:48:43.813 回答