XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
The Best Selling PC Migration Utility.
Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old July 30th, 2001, 08:47 PM
edwinx edwinx is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Location: vancouver, bc
Posts: 142 edwinx User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 36 m 43 sec
Reputation Power: 9
Send a message via ICQ to edwinx
Question How can I use XML?

hi,

I've read the article on XML basics and other articles here and there but i'm still wondering how can i use xml and what is it really for?

is it another layer in the application?

I mean, to share data with others on different platforms, can't that be done using just a database? and if i I need to display it on varying devices can't a database and a language(jsp, php, asp, etc..) do the trick?

Why do i need xml?

can someone point me to a reference point or help me out here?

thanks
edwin
__________________
I know nothing

Reply With Quote
  #2  
Old July 31st, 2001, 04:03 PM
pwijdh pwijdh is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: Rotterdam, the Netherlands
Posts: 2 pwijdh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
You should probably see xml as an api which means that by defining a dtd or a xsd you make it possible for other systems to understand the structure of your xml and to plugin

An easy to understand implementation is html.
All element- and attributenames are described in a dtd which is implemented in all html enabled applications such as webbrowsers.

The result is a uniform data visualisation and sharing of html.

xml is a possible solution dedicated datasharing, -processing and -visualisation. (Large) companies can define their xml structure they want to use for projects or whatever and by making the definition public other companies such as suppliers can develop applications that can read and process those xml files.

for some real life implementations of xml you might want to look at
URL
This is an explanation of the xml structure for the building industry

URL
who have defined xml based structures for electronic learning environments

For viewing editing and validatind xml (related) files I reccomend you download a copy of turbo xml at URL
(examples included)

Reply With Quote
  #3  
Old August 1st, 2001, 03:14 PM
edwinx edwinx is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Location: vancouver, bc
Posts: 142 edwinx User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 36 m 43 sec
Reputation Power: 9
Send a message via ICQ to edwinx
pwijdh,

ok. so after describing all my data into nicely organized pieces. how do i share it with other ppl? store it in a database?

but why can't i just use a database and why describe it all in xml? isn't a database more powerful in terms of storing and organizing data?

thanks
edwin

Reply With Quote
  #4  
Old August 2nd, 2001, 10:31 PM
jnicholas jnicholas is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Posts: 5 jnicholas User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Most examples and tutorials about XML show it as text files that are then converted to HTML or WAP or something. You're right, this wouldn't make much sense to store a large amount of data this way. A database makes more sense. What XML is great for is transfering that data between different companies/depts/etc.

For example, let's say you were going to share your widget product database with your biggest customer WidgWorld. They're going to get the latest data from your database and show it on their ecommerce site. You don't want to just give WidgWorld a password and let them do whatever they want with your data. So instead you create a script/servlet/app that sends the data in XML form. Before you probably would have sent comma or tab separated text but that doesn't show irregular data (some widgets have 3 unique features others have 1) and isn't self describing. Also if 2 differenct customers are getting this XML feed you can add a new tag (<color>Blue</color>) and the parser will ignore until they decide to parse for it, a sudden new column in the text table would probably screw everything up.

Reply With Quote
  #5  
Old August 5th, 2001, 05:30 AM
edwinx edwinx is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Location: vancouver, bc
Posts: 142 edwinx User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 36 m 43 sec
Reputation Power: 9
Send a message via ICQ to edwinx
great

thanks man,

I really need to start learning sooo much stuff and xml/xslt will be some of them....

are u working with xml now?

edwin

Reply With Quote
  #6  
Old August 10th, 2001, 05:29 PM
pyl pyl is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Posts: 27 pyl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Good site here:
http://www.phpxml.org

py

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > How can I use XML?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway