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

RE: What is the rule for parsing XML in a namespace inside HTM

  • To: "Elliotte Rusty Harold" <elharo@m...>
  • Subject: RE: What is the rule for parsing XML in a namespace inside HTML?
  • From: "Joshua Allen" <joshuaa@m...>
  • Date: Thu, 15 Jul 2004 10:41:50 -0700
  • Cc: "XML Developers List" <xml-dev@l...>
  • Thread-index: AcRqXoYZqKPi1p73RwewJD2k35hvdQAMWXmQ
  • Thread-topic: What is the rule for parsing XML in a namespace inside HTML?

purchasing system use case
> You persist in seeing this as two different things, which is 
> twice as much work.  People want to read web pages in their 
> browsers. They also want to be able to process it with 

You have perfectly described where our disagreement is.  People want to
be able to write web pages which can be read in web browsers.  That is
the overwhelming majority use case.

It is not a common goal for page authors to make web pages which can
optionally be imported into contacts databases, consumed in a news
aggregator, imported into a sales order system, and so on.  This is not
only not a common use-case, it is a terrible idea.  If anything, people
who provide data for such applications might choose to make their data
optionally visible within a web browser -- this can be done by using
XML+XSLT+CSS as I explained; and I have seen it done with all three of
the examples I gave.

So, yes, I *do* feel that machine-readable and human-readable are
normally separate scenarios.  Furthermore, I feel that my suggestion of
XML+XSLT+CSS is the only reasonable choice when the two are combined.
When you want a document to serve *both* human-readable and machine
purposes, you have to decide whether human-readable is primary or
secondary.  The history of the industry is littered with failed attempts
to force machines to read human-primal documents.  How many times did we
try to force document authors to embed various markers in their
documents, use specific fonts, wrap boxes around fields, etc. in order
to assist the work of OCR "form readers"?  How well did that work?
Screen scraping is not much different.  Screen scraping is something you
use when the system was improperly designed and you have no other
choice; it is not something you intentionally design for.

Another way to look at it.  Out of 100 random cases where someone
decides to create a new document (in HTML or XML), what number do you
think falls among these 4 scenarios?  Here are my guesses:

A) Web page intended primarily for human consumption: 68
B) Same as A, but might like to support import into contacts database,
purchasing system, etc: 2
C) Data file intended primarily for use in a contacts database,
purchasing system, etc: 20
D) Same as C, but might want to let people view in a web browser: 10


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.