Integrating Integrators – BizTalk, Windows Azure, Windows Workflow, and Beyond
Join
Sign in
Search Options
Search Everything
Search BizTalk 2004
Home
AppFabric
BizTalk Server
Windows Azure
Windows Workflow
Jobs (Hire A Guru)
More ...
Home
»
BizTalk Server
»
BizTalk 2004
»
BizTalk 2004 Forum
»
1 flat file to many XML
1 flat file to many XML
BizTalk 2004
This group is for all content related to BizTalk Server 2004. This includes a forum, samples, videos, labs, whitepapers, and tools. Most of the content here also applies to other versions of BizTalk beyond 2004.
Get this RSS feed
Home
Forum
Files
Sitewide Application Navigation
Home
Blogs
Media
Forums
Wikis
Groups
Details
3
Replies
0
Subscribers
Posted
over 7 years ago
Options
Subscribe via RSS
Share this
BizTalk 2004 Forum
1 flat file to many XML
rated by 0 users
This post has
3 Replies |
0
Followers
Posted by
kavitha
on
Fri, Apr 28 2006 1:14 PM
1 flat file to many XML
hai friends,
I have a flat file and i want to split into different XML documents.
My flat file looks like this :
@
kavitha
27
@
arava
35
@
I want to split each record into separate XML document as Output.
My output should look like
<name>kavitha</name>
<age>27</age>
I tried many times but i did not get the results.Can anybody give me a clue to do this.
Thanks in advance
kavitha
Reply
Posted by
NealWalters
on
Fri, Apr 28 2006 3:38 PM
1 flat file to many XML
Biztalk maps (and XSLT 1.0) can only output one XML file.
Sounds like this is a case for a custom disassembler in a Receive Pipeline
or use some type of C# preprocessor to split the file first.
On this website (BiztalkGurus.com) Stephen Thomas has several examples of debatching, but I'm not sure that applies in your case, but you might get some ideas. Debatching is taking one big message, and breaking it into several smaller ones.
Neal Walters
http://Biztalk-Training.com
Neal Walters http://Biztalk-Training.com - Learn Biztalk Faster http://Sharepoint-Training.com - End-User Sharepoint Videos http://CMSTrainingVideos.com - WordPress, Joomla, PHP-Fusion videos
Reply
Posted by
Nar_BTS
on
Fri, Apr 28 2006 4:16 PM
1 flat file to many XML
Use XPATH in The Orch...
Root
subroot
<name>YYY</name>
<age>11</age>
xpath(msg, \"count(//subroot)\")
when ever you send input file, it will split on every subroot record.
you always get out like Name and age in single file...
try this hope this Helps
Reddy-
Reply
Posted by
greg.forsythe
on
Sat, Apr 29 2006 3:43 AM
1 flat file to many XML
This can be done by the Flat File disassembler.
Although you need to know the exact character layout of the file.
If you can email me an example of you input file I can show you how to create the schemas required.
Reply
Page 1 of 1 (4 items)