[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

=?UTF-8?Q?Re=3a_=5bxml-dev=5d_What_is_the_=e2=80=9cstandard_form?==?UTF-

  • From: Christophe Marchand <cmarchand@oxiane.com>
  • To: xml-dev@lists.xml.org
  • Date: Thu, 1 Sep 2022 15:23:04 +0200

=?UTF-8?Q?Re=3a_=5bxml-dev=5d_What_is_the_=e2=80=9cstandard_form?==?UTF-

If you have a hammer, everything seems to be a nail. If you've spent many years in unx environments, you expect all data being text, because you have powerfull tools to process text files (awk, grep, wc, etc...). If you come from XML world, you expect data being XML, because you have powerfull tools to process XML data (XPath, XQuery, Xslt, ...). If you come from front world, you expect data being JSon, because you have tools to process JSon (powerfull tools ? ;-)).

Changing programs is always an easy task, but changing human habits is much more difficult. In my opinion, you should let militarians use text files, and civilians use XML files. But you must provide efficient and easy to use tools to convert - without loss - from one format to the other.

Then, as an XML guy, convert text files to XML, process XML files with XML tools, and send them to civilians. Or process civilians files with XML tools, convert them to text and send them to militarians.

See you,
Christophe

Le 01/09/2022 à 14:37, Roger L Costello a écrit :

Hi Folks,

In his book Software Tools Brian Kernighan says, “A program should be viewed as just a stage in a larger process. Stages should be simple and easy to connect. Keep data in a standard internal form for text for other programs.” That last part – keep data in a standard form – is particularly interesting.

I am working on a project to map (translate) military air navigation data to a civilian air nav form. What is the standard form? Is the military form – tab-delimited text files (a.k.a., UNIX form) – the standard form? Or is the civilian form – XML – the standard form? Should the military form be maintained as long as possible, processing the data using UNIX tools, and only at the final step is the data converted to XML? Or should the military data be immediately converted to XML and thenceforth use XML tools to process the data, ultimately arriving at the desired XML instance? As an XML person, I took the latter path, but now that I’ve learned a bit about UNIX, I question if that was the best choice.

Thoughts?

/Roger



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.