This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

fixed record length file conversion question




I am new to XSLT. Hopefully, it is the right place for my question. And I
hope someone may think of such question before.

My existing application should normally take XML interface file and using
XSLT  to genrate formatted report.
However, some of the external parties only provide fixed length record
file. So I think I can reuse my existing "XML->Report" function
but just to write progam to convert fixed length record file to XML.

However, I would like to have a generic program which reads in fixed length
record file and a configuration template
(hopefully in XML format, which tells the structure of XML going to be
generated  (levels, tag name, etc) and
the data format of the input data file such as position, length of  each
field).

At the moment, I have no actual idea on how to implement it. At first
sight, I may need a Parser which reads in data file and
configuration file info and serialize it to XML ?  Just brainstorm!

Would anyone please point me to some directions (e.g. some concepts or some
useful websites) ? Or any suitable discussion group may help?

Many Thanks in advance




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]