Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Text File Conversions [Thread Next] Re: Text File ConversionsTo: NULL Date: 12/13/2004 1:06:00 PM Simon wrote: > We have an EDI application which takes in flat files. There is now a need > to accept a new format, and we wanted to involve XML, but my knowledge of XML > is limited to how to spell it. > > From the net, I've found that flat files can be converted to XML relatively > easily, but examples only show rows that are identical in structure. > > So my question is, can we do an XSL translation on something like: > > cust@b...|comp@b...|08/12/2004|ORDERS|28682351|V| > HFCH DAC 2858591 0812200408122004J > DPH1705W 4EA 2283Product 1 > DQLG66K/4GPLWEWE 20EA 186Product 2 > > ...where we can have any number of _H_eader and _D_etail lines. Not easily, but feasible. You still have to parse this format and represent it as XML to XSLT, because all XSLT knows is XML, it's XML transformation language, not text manipulation language. -- Oleg Tkachenko [XML MVP] http://blog.tkachenko.com | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
