[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Converting XML to ASCII
- From: Christopher Martis <chris.martis@swift.com>
- To: Mark McClure <Mark.McClure@sufsys.com>
- Date: Fri, 26 Jan 2001 17:57:52 -0500
Hi Mark,
The solution is simple get a xml parser, sax/dom (interface) and write an application that reads the content returned by the
parser and writes the output in whatever format you want to another file (ascii).
Hope this helps.
regards
Chris
Mark McClure wrote:
> Hi Chris,
> Thanks for the message! What I need to do is take an .xml file filled with
> data, such as map coordinates, and strip the tags and format the output to
> comma separated ASCII text file to be imported by another program. Does
> that make sense? Thank for taking the time to respond.
>
> Mark
>
> -----Original Message-----
> From: Chris Loschen [mailto:loschen@texterity.com]
> Sent: Friday, January 26, 2001 4:15 PM
> To: Mark McClure
> Subject: Re: Converting XML to ASCII
>
> >I am extremely new to XML, and my boss asked me to figure this out. Does
> >anyone know of any freeware apps that will do this conversion? Maybe to be
> >incorporated in to a batch file...
>
> Hi, Mark!
>
> You're probably about to get a whole pile of replies to this. XML already IS
> ASCII: no conversion necessary. One of XML's big selling points is that it's
> made up entirely of lower ASCII characters, and no control characters
> are allowed.
>
> Perhaps you intended to ask a somewhat different question, like: is there
> a way to strip all the XML tags from an XML instance and output only
> the content? If you intended to ask something else, we'll need more
> specific information to help give you an answer.
>
> Good luck! Hope this helps.
> --
>
> --Chris
>
> ------------------------------------------------
> Texterity ~ XML and PDF ePublishing Services
> ------------------------------------------------
> Chris Loschen, XML Developer
> Texterity, Inc.
> 144 Turnpike Road
> Southborough, MA 01772 USA
> tel: +1.508.804.3033
> fax: +1.508.804.3110
> email: loschen@texterity.com
> http://www.texterity.com
--
S.W.I.F.T. Information Technology
9615 Center Street,Manassas, VA 20110
703-365-6188
703-365-6375 (fax)
S.W.I.F.T. s.c.r.l.
This e-mail and any attachments thereto may contain information that is confidential and/or proprietary and is intended for
the sole use of the recipient(s) named above. It is not intended to create or affect any contractual arrangements between the
parties. If you have received this e-mail by mistake, please notify the sender and delete it immediately. Thank you for your
cooperation.