You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Bh...@iflexsolutions.com on 2005/06/22 11:34:07 UTC
flat file to XML file
Hi All,
Is there any API which helps in converting flat file content into an XML
file using XSLT-FO or XSLT?
Or
One solution is to write java program to do this which is tedious thing
I want any other way to do this task.
Please help me.
Thanks and Regards
Bhaskar K S
Re: flat file to XML file
Posted by Warren Young <wa...@etr-usa.com>.
BhaskarKS@iflexsolutions.com wrote:
> One solution is to write java program to do this which is tedious thing
Part of your problem here is choice of langauge. Perl -- along with
suitable modules like XML::Writer -- would fly through a task like this.
If you don't know Perl yet, this is a fine excuse to learn it.
If you can find a book on Perl _4_, that would be ideal. A lot of Perl
5 books get caught up in its new features, most of which have nothing to
do with text processing. Perl 4 was much better focused on tasks like
yours, so the books were as well.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: flat file to XML file
Posted by George Cristian Bina <ge...@sync.ro>.
Hi,
If your file has some structure then you can do that with XSLT 2.0. An
example that converts a tab delimited file to XML using an XSLT 2.0
stylesheet is here:
http://www.oxygenxml.com/forum/ftopic977.html
Hope that helps,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
BhaskarKS@iflexsolutions.com wrote:
> Hi All,
>
> Is there any API which helps in converting flat file content into an XML
> file using XSLT-FO or XSLT?
>
> Or
>
> One solution is to write java program to do this which is tedious thing
> I want any other way to do this task.
>
> Please help me.
>
>
>
> Thanks and Regards
>
> Bhaskar K S
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org