473,493 Members | 4,333 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Should XML quietly die?

XML is supposed to 'separate data from presentation and be humanly
readable'.
1) An XML file cannot accept many characters as data. eg " ; < all
have to be filtered. One or two lines of carefully selected data is OK
though. But not loads of real world data.
2) Its not so easy to make relations between 'tables'. A database does
it better
3) XPath is basically another version of SQL.
4) Much practical real world data is lots of text (eg news articles),
pictures (which is binary data) which xml cannot store easily.
5) Its often not very humanly readable, especially with complex
schemas.

So, I can understand why some are now skirting round XML.

Nov 9 '06 #1
6 1035
I personally dont make a great deal of use of XML on prjects unless its the
clear and obvious choice for a piece of work, like passing webservice
datasets around between different systems. That said, my blog (based on
dasBlog) uses it very effectively and its great given someone else has
written all the methods to make it work without a database as deployment was
a five minute job - its been a great use of XML.

So, its like every other technology - if its has a use it has a place.

--
--
Regards

John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com
http://www.johntimney.com/blog
"heinz" <bi******@gmail.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
XML is supposed to 'separate data from presentation and be humanly
readable'.
1) An XML file cannot accept many characters as data. eg " ; < all
have to be filtered. One or two lines of carefully selected data is OK
though. But not loads of real world data.
2) Its not so easy to make relations between 'tables'. A database does
it better
3) XPath is basically another version of SQL.
4) Much practical real world data is lots of text (eg news articles),
pictures (which is binary data) which xml cannot store easily.
5) Its often not very humanly readable, especially with complex
schemas.

So, I can understand why some are now skirting round XML.

Nov 9 '06 #2
Out of a particular context it is really hard to have a general opinion
about XML. IMO it was never intended to be a replacement for relational
databases as most of your points eems to imply. It is still usefull where
appropriate...

--
Patrice

"heinz" <bi******@gmail.coma écrit dans le message de news:
11**********************@i42g2000cwa.googlegroups. com...
XML is supposed to 'separate data from presentation and be humanly
readable'.
1) An XML file cannot accept many characters as data. eg " ; < all
have to be filtered. One or two lines of carefully selected data is OK
though. But not loads of real world data.
2) Its not so easy to make relations between 'tables'. A database does
it better
3) XPath is basically another version of SQL.
4) Much practical real world data is lots of text (eg news articles),
pictures (which is binary data) which xml cannot store easily.
5) Its often not very humanly readable, especially with complex
schemas.

So, I can understand why some are now skirting round XML.

Nov 9 '06 #3
"Patrice" <sc****@chez.comwrote in message
news:eO****************@TK2MSFTNGP02.phx.gbl...
Out of a particular context it is really hard to have a general opinion
about XML. IMO it was never intended to be a replacement for relational
databases as most of your points eems to imply. It is still usefull where
appropriate...
I agree. I never use XML as a replacement for a database, but it does have
its uses. Currently, I have three main uses for it:

1) webservices - bit of a no-brainer, as our friends from over the pond
might say...

2) connectivity with discrete systems e.g. it makes it really easy to
interface with Microsoft Great Plains through eConnect...

3) creating Office documents (Word, Excel & PowerPoint) when it's not
financially viable to use Aspose...
Nov 9 '06 #4
XML is to data what System.Object is to the .Net Framework class library.
I'm not sure where you got your definition of XML, but the most salient
character in the acronym is the letter "X" (eXtensible). From the W3C
(http://www.w3.org/), XML is defined:

"Extensible Markup Language (XML) is a simple, very flexible text format
derived from SGML (ISO 8879). Originally designed to meet the challenges of
large-scale electronic publishing, XML is also playing an increasingly
important role in the exchange of a wide variety of data on the Web and
elsewhere."

In fact, XML is just the root specification of literally hundreds of Markup
Language Specifications that are used in all kinds of activities, such as
XHTML, XPath (a specification for naviagating XML documents), XQuery (a
specification for extracting data from XML documents and collections), XSD
(Schema definition Language), XSL and XSLT (Used for transforming XML
documents of any type to any other type of documents), XPROC (Xml
Piplelining language), SOAP, RSS, XFORMS, XLink, XAML, XBASE, and an
ever-expanding repertoire of others.

So, far from quietly dying, XML is thriving, growing, and expanding, for all
the right reasons.

That said, it should be used when appropriate, and not used when not
appropriate. How do you know when it is appropriate, and when it is not
appropriate? By understanding what it is, and what it is best used for.

--
HTH,

Kevin Spencer
Microsoft MVP
Ministry of Software Development
http://unclechutney.blogspot.com

I just flew in from Chicago with
a man with a wooden leg named Smith
who shot an elephant in my pajamas.
So I bit him.
"heinz" <bi******@gmail.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
XML is supposed to 'separate data from presentation and be humanly
readable'.
1) An XML file cannot accept many characters as data. eg " ; < all
have to be filtered. One or two lines of carefully selected data is OK
though. But not loads of real world data.
2) Its not so easy to make relations between 'tables'. A database does
it better
3) XPath is basically another version of SQL.
4) Much practical real world data is lots of text (eg news articles),
pictures (which is binary data) which xml cannot store easily.
5) Its often not very humanly readable, especially with complex
schemas.

So, I can understand why some are now skirting round XML.

Nov 9 '06 #5
OK - so XML has some good uses. I
should give up trying to store binary
data in it and use it for SOAP etc where
it works well.

Nov 12 '06 #6
"heinz" <bi******@gmail.comwrote in message
news:11**********************@f16g2000cwb.googlegr oups.com...
OK - so XML has some good uses. I
should give up trying to store binary
data in it and use it for SOAP etc where
it works well.
IMO you shouldn't be using XML to "store" anything - the worst mistake you
can make with XML is to treat it as a replacement for a database...
Nov 12 '06 #7

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

Similar topics

303
17412
by: mike420 | last post by:
In the context of LATEX, some Pythonista asked what the big successes of Lisp were. I think there were at least three *big* successes. a. orbitz.com web site uses Lisp for algorithms, etc. b....
28
2760
by: grahamd | last post by:
Who are the appropriate people to report security problems to in respect of a module included with the Python distribution? I don't feel it appropriate to be reporting it on general mailing lists.
36
4074
by: Jack Hughes | last post by:
This argument has come up two or three times lately. We have a web standards document at our company that say "Use valid HTML 4; We don't recommend switching to DIV-based CSS-P for layout just...
3
1342
by: Soren Mikkelsen | last post by:
Dear all, I am not sure this is the right forum so please bare with me that I've posted the same on fora: microsoft.public.dotnet.faq microsoft.public.dotnet.framework.setup...
51
3192
by: mojosam | last post by:
I've been watching the flame war about licenses with some interest. There are many motivations for those who participate in this sector, so disagreements over licenses reflect those agendas. I...
61
8574
by: norb1 | last post by:
After tracking down a bug in my Fortran program, I found that it assumed max(NaN,0.) = 0. This makes no sense, as the outcome of the operation is undefined and should be NaN. max(NaN,0.) = NaN...
82
31002
by: quiberon2 | last post by:
Hi, Sorry if it might be a stupid question but what should returns malloc(0) ? void *ptr = malloc(0); I am running gcc 3.3.5 and a non-null address is returned. ( in the compiler that I am...
8
2192
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - When should I use eval? ----------------------------------------------------------------------- The ` eval() `...
13
3912
by: lister | last post by:
If I want to move something to a new line, should I be using <br/>, or is there a way of doing it in CSS? I was just thinking if it was possible in CSS then it would be better as otherwise the...
0
7118
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6980
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7157
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
7192
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...
1
6862
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
7364
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...
1
4886
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...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
282
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.