File Save As ... XML

By Sean McGrath, ITworld.com |  Development Add a new comment

I'll come straight to the point this week (for a change).

XML is not - repeat NOT - a 'file format' in the sense that most people use the phrase 'file format'.

In order to back up this strong assertion, we need to agree on some basic terms. Never an easy thing to do in this business. For the moment, let us pretend that internationalization is not a concern in this global economy we live in. For the moment, let us treat the term 'ASCII' as synonymous with plain text. This little ruse will help keep things simple without adversely impacting the core of my argument.

When we say some data is saved out of an application in ASCII format, what do we mean? We mean that if you open up the file in a simple text editor you will see letters and numbers and punctuation. It may or may not be possible to understand what the letters and numbers and punctuation mean but given enough information, it would be possible to create a file by hand in the text editor that was indistinguishable from the original. It might also be possible to edit the file with a text editor in such a way that the edited file will still work with its intended destination application.

Now, imagine in your mind's eye an application that gives you these File-Save options:

Save file as CSV

Save file as RTF

Save file as ASCII

But hang on, leaving internationalization aside as we agreed to, these are all ASCII files. It doesn't really make sense to classify them this way, any more than this makes sense:

Save file as Chevy

Save file as Harley

Save file as Motor powered vehicle

How to make sense of all this? Here is what I think "File-Save As ASCII" really means to most people. It means "Save the information in my file in a form that preserves my letters and numbers but strips out any application specific information."

That works in the example used here. CSV is ASCII but it is ASCII specifically constructed to preserve application-specific information. Namely, the row and column structure of tabular data. RTF is ASCII but it is ASCII specifically constructed to preserve application-specific information. Namely, the formatting of text into tables, paragraphs, pages and so on.

Now let's turn to XML. What might a set of save options like this mean?

Save file as XHTML

Save file as RSS

Save file as XML

D

    Add a comment

    Post a comment using one of these accounts
    Or join now
    At least 6 characters

    Note: Comment will appear soon after you have activated your account.
    Obscene/spam comments will be removed and accounts suspended.
    The information you submit is subject to our Privacy Policy and Terms of Service.

    ITworld LIVE

    DevelopmentWhite Papers & Webcasts

    White Paper

    HP NonStop SQL Fundamentals whitepaper

    This whitepaper offers a detailed look into the fundamentals of HP NonStop SQL solutions. See how this system delivers unprecedented levels of application availability with fail-safe data integrity and meets the needs of enterprises with large-scale business critical applications.

    White Paper

    Nebraska Medical Center case study

    See how the Nebraska Medical Center implemented a SQL solution to make information more readily available to streamline operations, improve patient care and facilitate medical research with an enterprise solution running on HP NonStop servers.

    White Paper

    Concepts of NonStop SQL/MX

    For DBAs and developers who are familiar with Oracle solutions and want to learn about NonStop SQL/MX, this whitepaper provides an overview of the similarities and differences between the two products-with a specific focus on implementation.

    White Paper

    6 Things Your CIO Needs to Know About Requirements

    If your organization is not predictably successful on technology projects, there is likely an issue in requirements. CIOs must take action and own requirements maturity improvement. There are 6 main things a CIO must know about requirements.

    Webcast On Demand

    User Experience Monitoring

    In this webinar, you will learn hints & tips for improving end-user response times from Forrester Research analyst, Jean-Pierre Garbani.

    Sponsor: Nimsoft

    See more White Papers | Webcasts

    Ask a question

    Ask a Question