Oleg said:
I was wondering if anyone could possibly recommend to me a
tool that would take .txt file and convert it to XML
format. Thank you very much in advance!
There's a wonderful tool called 'echo'. Used in tandem with
its trusty sidekick, 'cat', it can convert your text files
to XML in no time at all:
And enterprises of great pith and moment,
With this regard, their currents turn awry,
And lose the name of action.> echo ' said:
<?xml version="1.0"?>
<text><![CDATA[ And enterprises of great pith and moment,
With this regard, their currents turn awry, And lose the
name of action. ]]></text>
Seriously though, presuming you text file contains some sort
of structured data, you shouldn't expect a canned tool to
magically divine that structure and convert it to
appropriate XML constructs (especially since 'appropriate'
is rather subjective in this case).
Oh, and XML is not a format per se. In case you meant one of
the (many) XML formats for representing structured
texts--such as DocBook--you should've said so.
--
roy axenov
If only we smelled each other's asses, there wouldn't be any
war.--Dustin Hoffman