Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Text File Conversions

From: "Oleg Tkachenko [MVP]" <oleg@--!----!---------------.--->
To: 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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent