XML is mainly used for Data Interchange -
Since the structure of the XML doc is very strict - on the client side the
data can be just picked off from the page by parsing it.
It is good for doing processing on the page - whereas processing a static
HTML page and extracting any Info from it is not easy since there are no
semantics involved and the structure is not strict - unclosed tags may
reamin.
Hope this answers your question
Jyoti

-----Original Message-----
From:   Joona Palaste [SMTP:[EMAIL PROTECTED]]
Sent:   Monday, September 06, 1999 12:26 PM
To:     [EMAIL PROTECTED]
Subject:        Re: Server-Side Java & XML why?

At 01:08 AM 9/6/99 -0400, you wrote:
>Hi, I've been doing a lot of research on XML to see if I can use it in
>my projects.  I've read a lot of material on it for weeks but can never
>understand the purpose of it.  I can understand it is good for
>standardizing and transferring between external sources.  It seems like
>something big but I just don't get it.
>
>If I'm using java and have a database on my server why would I access an
>XML file to generate a web page, when I can just read from a database.
>A database has far more functionality probably faster, and there doesn't
>need to be any parsing.  I'm thinking if I'm like eBay, Buy.com or
>Hotmail what do I use XML for?
>
>Can anyone expalin the real-world benefits of using XML?

Erm, WML, which is used in WAP phones, is an extension of XML, I think.
That
should count as a real-world benefit.

Joona Palaste

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

begin 600 WINMAIL.DAT
M>)\^(C4$`0:0" `$```````!``$``0>0!@`(````Y 0```````#H``$(@ <`
M& ```$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`0V ! `"`````@`"``$$
MD 8`P (```$````0`````P``, (````+``\.``````(!_P\!````C0``````
M``"!*Q^DOJ,0&9UN`-T!#U0"`````$$@;6%I;&EN9R!L:7-T(&9O<B!D:7-C
M=7-S:6]N(&%B;W5T(%-U;B!-:6-R;W-Y<W1E;2=S($IA=F%397)V;&5T($%0
M22!496-H;F]L;V=Y+@!33510`%-%4E9,150M24Y415)%4U1 2D%602Y354XN
M0T]-`````!X``C !````!0```%--5% `````'@`#, $````>````4T525DQ%
M5"U)3E1%4D535$!*059!+E-53BY#3TT````#`!4,`0````,`_@\&````'@`!
M, $```!4````)T$@;6%I;&EN9R!L:7-T(&9O<B!D:7-C=7-S:6]N(&%B;W5T
M(%-U;B!-:6-R;W-Y<W1E;2=S($IA=F%397)V;&5T($%022!496-H;F]L;V=Y
M+B<``@$+, $````C````4TU44#I315)63$54+4E.5$5215-40$I!5D$N4U5.
M+D-/30```P``.0`````+`$ Z`0```!X`]E\!````4@```$$@;6%I;&EN9R!L
M:7-T(&9O<B!D:7-C=7-S:6]N(&%B;W5T(%-U;B!-:6-R;W-Y<W1E;2=S($IA
M=F%397)V;&5T($%022!496-H;F]L;V=Y+@````(!]U\!````C0````````"!
M*Q^DOJ,0&9UN`-T!#U0"`````$$@;6%I;&EN9R!L:7-T(&9O<B!D:7-C=7-S
M:6]N(&%B;W5T(%-U;B!-:6-R;W-Y<W1E;2=S($IA=F%397)V;&5T($%022!4
M96-H;F]L;V=Y+@!33510`%-%4E9,150M24Y415)%4U1 2D%602Y354XN0T]-
M``````,`_5\!`````P#_7P`````"`?8/`0````0````````"O;4!!( !`" `
M``!213H@4V5R=F5R+5-I9&4@2F%V82 F(%A-3"!W:'D_`,H)`06 `P`.````
MSP<)``@`"0`X`#0``P!?`0$@@ ,`#@```,\'"0`(``D`-0`=``,`10$!"8 !
M`"$````P13$P,#DP-D-"-C5$,S$Q039$-C P.# U1D(W1#1$1@`=!P$#D 8`
M; D``"(````+``(``0````L`(P```````P`F```````+`"D```````,`+@``
M`````P`V``````! `#D`X$ON7[+YO@$>`' ``0```" ```!213H@4V5R=F5R
M+5-I9&4@2F%V82 F(%A-3"!W:'D_``(!<0`!````%@````&^^;)?Y08)$ ]E
MRQ'3IM8`@%^WU-\``!X`'@P!````!0```%--5% `````'@`?# $````E````
M:GEO=&DN<&%R=&AA<V%R871H>4!T871A:6YF;W1E8V@N8V]M``````,`!A X
M5/8,`P`'$+\%```>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&$$Q\2Z6
MD&T)4#2"9X"_2K5&,%[5E?^7FR-!9!HQ=9C7+UY&+4^A7N6:#PJ<3$E#L$+2
M)H!E;); Y98.=Z+0+FQ>T & F!/=`X%U!T"8T!=!<J0CG\\+"H 2`0"F, ``
M``,`$! ``````P`1$ `````>`$(0`0````$``````````P" $/____] ``<P
M(%I!Y['YO@% ``@P(%I!Y['YO@$+``" "" &``````# ````````1@`````#
MA0````````,``H (( 8``````, ```````!&`````!"%`````````P`%@ @@
M!@``````P ```````$8`````4H4``'00```#``F "" &``````# ````````
M1@`````!A0```````!X`$H (( 8``````, ```````!&`````%2%```!````
M!0```#@N,#(`````"P`6@ @@!@``````P ```````$8`````#H4````````#
M`!> "" &``````# ````````1@`````1A0````````,`&8 (( 8``````, `
M``````!&`````!B%````````'@`H@ @@!@``````P ```````$8`````-H4`
M``$````!`````````!X`*8 (( 8``````, ```````!&`````#>%```!````
M`0`````````>`"J "" &``````# ````````1@`````XA0```0````$`````
A````'@`]``$````%````4D4Z( `````#``TT_3<``&YX
`
end

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to