473,399 Members | 3,401 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

What is so great about XML?

OK, I have been drowning in all kinds of articles about XML lately.
The ONE thing I have not yet seen is a general discussion article
about the alleged benefits of XML, especially as it affects Access
developers.

Does anyone have a link to such an article -- one that STARTS with a
general description of why XML is suppose to be better than whatever?

Thanks in advance.
Nov 13 '05 #1
7 1636
Lauren Wilson wrote:
OK, I have been drowning in all kinds of articles about XML lately.
The ONE thing I have not yet seen is a general discussion article
about the alleged benefits of XML, especially as it affects Access
developers.

Does anyone have a link to such an article -- one that STARTS with a
general description of why XML is suppose to be better than whatever?

Thanks in advance.


Lemme guess, you're writing an application and everyone keeps asking
"does it do XML?", the same people who just accidently deleted "the
innernet" from their desktop.

--
[Oo=w=oO]

Nov 13 '05 #2
On Thu, 12 May 2005 02:11:16 -0500, Lauren Wilson <no****@private.com> wrote:
OK, I have been drowning in all kinds of articles about XML lately.
The ONE thing I have not yet seen is a general discussion article
about the alleged benefits of XML, especially as it affects Access
developers.

Does anyone have a link to such an article -- one that STARTS with a
general description of why XML is suppose to be better than whatever?

Thanks in advance.


I have had a chance to do a lot with XML lately, and I have a few things to
say.

First, a lot of folks who haven't played with XML, but just read about it will
tell you it's nothing new. Those people are both right and wrong.

Yeah, in one sense, XML is just a tagged file format, and yes, CSV can do a
lot of what we would use XML for just fine, but that ignores certain key
points.

1. It's a standard that a vast majority have been able to agree to share.

2. Regardless of the fact it can be difficult for a human to read, it is
nevertheless possible, and XML data really is more self-describing than CSV.

3. Standard XML parsers do a large part of your validation for you based on
the DTDs or XML Schemas for your document formats.

4. Standard XML parsers are able to apply XSLT transformations to XML data to
translate between formats. For instance, a client of 2 products from 2
vendors is likely to be able to write XSLT to translate one vendor's XML
format to the other. Since at least one of the applications probably bothered
witing the 15 lines of code or so to allow specifying an XSL Transform to
apply during load/save, you probably don't need to add an extra external
processing step.

5. Name spaces and the nested nature of XML allow you to borrow parts of other
standard schema definitions when designing your own and get increased data
portability in the bargain.

6. A single DTD or schema can define elements for a whole suite of document
types that share many common elements between them. Changes to any element
type definition are managed in one place.

7. Increased use of XML document formats allows for reduced coupling between
applications. For instance, I can use the MSXML library to generate XML from
a VB program that Excel can open directly, and do it without using Excel
automation - Excel doesn't even have to be installed on the machine that
generates the document.

Now, as far as Access goes...
From what I can see, the only really useful XML feature in Access so far is
the ability to use the MSXML library in the VBA project, which has more to to
with VB than Access per se. So far, it's been easier to figure that out than
how to use the explicit XML mapping features of Access (or Execl or SQL Server
for that matter) in any useful way. I'm pretty confident that will improve
eventually.
Nov 13 '05 #3
I would add to Steve's answer that there is another place where you
might use XML in your access application--consuming or calling web
services using SOAP calls. XML is the format used for communicating
with web services, which can be described simply as function calls
across the internet.

I know that some Microsoft products (such as MS Project Server) provide
an API that allows you to interact with the product via SOAP. In order
to upload data, retrieve data or make a configuration change, you will
need to create XML requests and receive XML responses. You can do with
with MS Access using the SOAP and XML libraries available to you.

Of course, you might also design an Access application that combines
local data stored on an access database with data retrieved from an
external source via web service calls to a third party's web service.
For example, you might store a company's financial information in an
Access database but provide the ability for the user to quickly look at
up to the minute stock market activity for the company and its
competitors. You would do this by making an XML request to a third
party web service that provides stock price information. I think that
Yahoo was providing a free web service for this. There are web
services that provide all kinds of data out there any many of them are
free.

Bill E.
Hollywood, FL

Nov 13 '05 #4
Steve Jorgensen <no****@nospam.nospam> wrote in
news:02********************************@4ax.com:
Now, as far as Access goes...
From what I can see, the only really useful XML feature in Access
so far is the ability to use the MSXML library in the VBA project,
which has more to to with VB than Access per se. So far, it's
been easier to figure that out than how to use the explicit XML
mapping features of Access (or Execl or SQL Server for that
matter) in any useful way. I'm pretty confident that will improve
eventually.


But you only need *that* if you've got a need for XML exchange with
somebody outside your Access applicaiton.

In other words, the answer to the subject's question is NOT MUCH.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #5
Interestingly, only hours after we responded to Lauren, someone else
posted with a need to do the very thing we were describing--right down
to the stock price example. See

"Access VBA and Web Services (XML)"

Bill E.

Nov 13 '05 #6
"Steve Jorgensen" wrote
1. It's a standard that a vast majority
have been able to agree to share.
And, I think it may be even harder to get people in information technology
to agree than it is to get agreement from a roomful of lawyers.
2. Regardless of the fact it can be
difficult for a human to read, it is
nevertheless possible, and XML
data really is more self-describing
than CSV.


Comma-Separated Variable format text files aren't self-describing at all, so
that's not a big leap. XML files, particularly with schemas and XSLT, are
self-describing. XML is just a current-generation "markup language" -- those
have been used since mainframe days, mostly for text files and display
control, but XML extends the functionality. But, they are, indeed, just text
files with agreed conventions for interpreting them.

The rest of these are "detail" information.

But, the big, big reason to be "excited" about XML, if you are, is that it
is a standard that has been agreed. There are, however, disagreements in
various groups defining "protocols" for data exchange in various industries,
a necessary next step for making XML data useful!

Larry Linson
Microsoft Access MVP
Nov 13 '05 #7
On Thu, 12 May 2005 02:11:16 -0500, Lauren Wilson <no****@private.com>
wrote:
OK, I have been drowning in all kinds of articles about XML lately.
The ONE thing I have not yet seen is a general discussion article
about the alleged benefits of XML, especially as it affects Access
developers.

Does anyone have a link to such an article -- one that STARTS with a
general description of why XML is suppose to be better than whatever?

Thanks in advance.

Hi
Here is an article which at least starts with what you asked for. It
is a fairly jaundiced view!
Coping with XML:
http://xmlsucks.org/but_you_have_to_...-with-xml.html

On the other hand there are those who think XML makes other database
technology obsolete. For example
Why XML?
http://www.softwareag.com/xml/about/xml_why.htm
This sort of approach often takes the view that the relational model
is old fashioned and the new way is hierachical, which should make
anyone whose father used Codasyl databases smile a bit.

However there IS a mismatch between the relational model and current
object-oriented approaches, which in practice results in modelling the
real world twice in each application.

Here is a reference to using XML as an in-memory database which looks
quite sensible. It exploits the fact that conventional databases are
connected very loosely to the application and so have a huge
connection overhead in server-client operation:
Creating an In-Memory Database Using XML and XPath -- Part 1
http://www.15seconds.com/Issue/010409.htm

David

Nov 13 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

220
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have...
125
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from...
21
by: Morten Aune Lyrstad | last post by:
I wish to create my own assembly language for script. For now it is mostly for fun and for the sake of the learning, but I am also creating a game engine where I want this system in. Once the...
2
by: Dan V. | last post by:
What do you recommend to use for saving time and get great results for making image and css buttons on a site? Also top tabs like for navigation. Separate question maybe is what is the best tool...
121
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode...
41
by: Mountain Bikn' Guy | last post by:
What is the current preferred way to save user preferences in dotnet? Is the registry the right place to do this? Can anyone recommend a good article (or book) for this topic? Thanks.
28
by: john_sips_tea | last post by:
Just tried Ruby over the past two days. I won't bore you with the reasons I didn't like it, however one thing really struck me about it that I think we (the Python community) can learn from. ...
34
by: emrahayanoglu | last post by:
Hello Everyone, Now, I'm working on a new web framework. I tried many test on the other programming languages. Then i decided to use python on my web framework project. Now i want to listen...
1
by: flit | last post by:
Hi all, I had one problem with csv files. And I put the message on 2 microsoft board and in this group. Results: No response from microsoft, and always 3 responses for posts on this lists....
4
by: jeddiki | last post by:
Hi, I am trying to harmonize my type face with my blog. this is what I have: http://www.expert-world.com/im/images/trash3.jpg Use see the USEFUL CONNECTIONS ?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.