Go Back   CodingForums.com > :: Client side development > XML

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-17-2002, 06:34 PM   PM User | #1
whackaxe
Senior Coder

 
Join Date: Jun 2002
Location: paris, france
Posts: 1,216
Thanks: 0
Thanked 0 Times in 0 Posts
whackaxe is an unknown quantity at this point
what are the real utilities of xml?

can someone explai nwhat the real utilities of xml are. i have found loads of tutorials on how to write xml but i haven seen what it is used for! thanx for the enlightenment

-the whackaxe
whackaxe is offline   Reply With Quote
Old 06-17-2002, 09:13 PM   PM User | #2
Jeewhizz
Regular Coder


 
Join Date: May 2002
Location: London, England
Posts: 369
Thanks: 0
Thanked 0 Times in 0 Posts
Jeewhizz is an unknown quantity at this point
The ability to use data cross platform to its full potential. For example, i could create a contact book on windows, and then move it straight to my palm/mobile/macintosh/server and it'd look and act the same no matter what!

Jee
__________________
Jeewhizz - MySQL Moderator
http://www.sitehq.co.uk
PHP and MySQL Hosting
Jeewhizz is offline   Reply With Quote
Old 06-18-2002, 01:11 AM   PM User | #3
Alex Vincent
Moderator


 
Join Date: May 2002
Location: Hayward, CA
Posts: 1,427
Thanks: 1
Thanked 19 Times in 17 Posts
Alex Vincent is on a distinguished road
Well, to see some of the benefits of XML you have to have a particular language written in XML to see.

For instance, XHTML is HTML reformulated as XML. It's an XML language for marking up text with links, pictures, emphasis, etc.

SVG is a graphics language written in XML.

XSLT lets you transform one language into another.

The list goes on and on. The key question is what sort of data you want to store.
__________________
"The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
June 30, 2001
author, Verbosio prototype XML Editor
author, JavaScript Developer's Dictionary
https://alexvincent.us/blog
Alex Vincent is offline   Reply With Quote
Old 06-18-2002, 08:30 PM   PM User | #4
whackaxe
Senior Coder

 
Join Date: Jun 2002
Location: paris, france
Posts: 1,216
Thanks: 0
Thanked 0 Times in 0 Posts
whackaxe is an unknown quantity at this point
i can create my own language?!
whackaxe is offline   Reply With Quote
Old 06-18-2002, 09:14 PM   PM User | #5
jkd
Senior Coder

 
jkd's Avatar
 
Join Date: May 2002
Location: metro DC
Posts: 3,163
Thanks: 1
Thanked 18 Times in 18 Posts
jkd will become famous soon enough
Not quite - you can create your own data structure:

<address>
<name>John Doe</name>
<street>123 Elvis St.</street>
<city>New York</city>
<state>New York</state>
</address>

Notice how the tags describe what content they are holding - this is opposed to:

<table>
<tbody>
<tr><td>John Doe</td></tr>
<tr><td>123 Elvis St.</td></tr>
<tr><td>New York</td></tr>
<tr><td>New York</td></tr>
</tbody>
</table>

Which tells you nothing about the information it contains.

Since the tags are descriptive, you can easily use XSLT to transform the <address> document into the XHTML document shown above, use XSLFO is present it however you want, use CSS to style the text, or dynamically import it client-side or server-side and extract information from it using SAX or DOM.
__________________
jasonkarldavis.com
jkd is offline   Reply With Quote
Old 06-19-2002, 02:17 PM   PM User | #6
ronaldb66
Senior Coder

 
Join Date: Jun 2002
Location: The Netherlands, Baarn, Ut.
Posts: 4,253
Thanks: 0
Thanked 0 Times in 0 Posts
ronaldb66 is an unknown quantity at this point
Yep; the point of XML is to describe, structure and record data in a uniform way, so it can be exchanged easily and produced and used in a variety of environments. Applications are thought to transform this data into an environment-specific form and present it, if so desired.
__________________
Regards,
Ronald.
ronaldvanderwijden.com
ronaldb66 is offline   Reply With Quote
Old 06-19-2002, 02:24 PM   PM User | #7
landon11
Regular Coder

 
Join Date: Jun 2002
Location: USA
Posts: 113
Thanks: 0
Thanked 0 Times in 0 Posts
landon11 is an unknown quantity at this point
I use xml files as my databases instead of connecting to databases. They can be accessed and modified client or server side.
__________________
USA
landon11 is offline   Reply With Quote
Old 06-19-2002, 03:18 PM   PM User | #8
whackaxe
Senior Coder

 
Join Date: Jun 2002
Location: paris, france
Posts: 1,216
Thanks: 0
Thanked 0 Times in 0 Posts
whackaxe is an unknown quantity at this point
oh ok then thanks for explaining that to me. i dont really think ill be using it for a while to be honest.

-the whackaxe
whackaxe is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:46 AM.


Advertisement
Log in to turn off these ads.