XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
- Stylus Studio Technical Forum (14621)
-> + XML Publisher post processors (2)
-> + Alignment of table items in XM... (2)
-> + XML to PDF using XML Publisher (2)
-> + Blurry Background image / Vect... (4)
-> + URIResolver error on command l... (2)
-> + stylus studio - the (3)
-> + problem with omit from output ... (3)
-> + Maximum XML File Size and Out ... (4)
-> + 64-bit version of Stylus Studi... (2)
-> + Generate xml schema from edi s... (3)
-> + License disabled (6)
-> + Stylus is not recognizing save... (5)
-> + WINE / CrossOver (3)
-> + Problem with FOP plugin (SS200... (5)
-> - XML diff engine - how to ignor... (1)
-> + How to configure Xerces J (2)
-> + Configuring xerces-2_9_1 (4)
-> + Release license to use stylus ... (5)
-> + Sorting Repeater row (3)
-> - Browse for Pipeline Input (1)
-- Previous [601-620] [621-640] [641-660] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Posttop
Praveen PaletySubject: Add Node and Pattern for Mutlplie Lines(Regions)
Author: Praveen Palety
Date: 03 Mar 2010 09:35 AM
I am trying to create a conversion file to convert a flat file to XML.
Below is the format of the flat file.With in each record it is Fixed Length.I am trying to figure the right approach for this type of file.
Please point me in the right direction. I have attached a sample file.

SCTRL => Start of Control Groups
JDE export data
CTRLH => Control Group Header records
JDE export data
CKHDR => Check Header record
TOF OWAPCHK
JDE Check Header export data line #1
JDE Check Header export data line #2
JDE Check Header export data line #3
JDE Check Header export data line #4
JDE Check Header export data line #5
JDE Check Header export data line #6
JDE Check Header export data line #7
JDE Check Header export data line #8
JDE Check Header export data line #9
JDE Check Header export data line #10
JDE Check Header export data line #11
CKDET => Check detail records
JDE Check Detail export data line #1
JDE Check Detail export data line #2
JDE Check Detail export data line #3
CKDET => Check detail records
JDE Check Detail export data line #1
JDE Check Detail export data line #2
JDE Check Detail export data line #3
CKDET => Check detail records
JDE Check Detail export data line #1
JDE Check Detail export data line #2
JDE Check Detail export data line #3
TOF OWAPOVL (based on N1 setting, N1=3)
CKDET => Check detail records
JDE Check Detail export data line #1
JDE Check Detail export data line #2
JDE Check Detail export data line #3
ECHKS => End of Check records. This also acts as End of Control Group.
ECTRL => End the last Control Group, and it signifies the end of the bridge file.
SCTRL => Start of Control Groups


UnknownLinX2.txt
Sample File

   
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.