..
> I'm new to xml.
This is 'Java', in case you are confused.
>..and In one of my application i want to convert the
> text file into xml file for further processing.
Oh.. using Java?
> So, if anyone Know how to do it plz tell me any solution.
Beyond putting the entire text into
a CDATA section, I do not see what you
mean by 'convert'.
As an aside.
- Each sentence should start with
a capital letter.
- Capital letters should generally
be avoided in other parts of sentences
except for proper names (Andrew/Sun),
acronyms (IBM, JSP) and things like
the word 'I'.
- Please try to spell words fully, 'plz'
might be acceptable to your buddy on the
next mobile, but here on usenet, we have
the luxury of full keyboards and enough
bandwidth to spell words properly.
Andrew T.
> I'm new to xml. and In one of my application i want to convert the
> text file into xml file for further processing.
> So, if anyone Know how to do it plz tell me any solution.
For a quick overview :
http://www.rgagnon.com/javadetails/java-0405.html
To convert a flat file using SAX:
http://www.rgagnon.com/javadetails/java-0482.html
To convert a flat file using DOM:
http://www.rgagnon.com/javadetails/java-0481.html
Bye.

Signature
Real Gagnon from Quebec, Canada
* Looking for Java or PB code examples ? Visit Real's How-to
* http://www.rgagnon.com/howto.html