User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the RSS, Web Services and SOAP section within the Web Development category of DaniWeb, a massive community of 392,060 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,240 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our RSS, Web Services and SOAP advertiser:
Views: 5797 | Replies: 16
Reply
Join Date: May 2005
Posts: 26
Reputation: Yuki H. is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
Yuki H.'s Avatar
Yuki H. Yuki H. is offline Offline
Light Poster

What exactly is xml?

  #1  
Dec 11th, 2005
I was wondering- is xml sort of considered like a stylesheet? (example: css) or is it more considered something like html? where you make tables and such.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: May 2005
Posts: 494
Reputation: techniner is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 18
techniner techniner is offline Offline
Posting Pro in Training

Re: What exactly is xml?

  #2  
Dec 12th, 2005
Originally Posted by Yuki H.
I was wondering- is xml sort of considered like a stylesheet? (example: css) or is it more considered something like html? where you make tables and such.

XML (Extensible Markup Language) is a W3C initiative that allows information and services to be encoded with meaningful structure and semantics that computers and humans can understand. XML is great for information exchange, and can easily be extended to include user-specified and industry-specified tags.

For detailed info please see http://www.w3.org/XML/
Did my post help?
Visit Little Jon's Web Portal


Generate Traffic with Maximum Traffic Software
Reply With Quote  
Join Date: Dec 2004
Posts: 1,589
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 34
Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: What exactly is xml?

  #3  
Dec 12th, 2005
Neither, though HTML and XML are both derived from SGML. XML is a data file, formatted with tags and attributes defined via a schema. HTML is the same thing, though specialized to "web pages". XML is generic, or to say it another way, may be specialized to your specific needs.

Perhaps you're thinking of XHTML, which is a stricter version of HTML inspired by XML.
Reply With Quote  
Join Date: Dec 2005
Posts: 22
Reputation: priyanka is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
priyanka's Avatar
priyanka priyanka is offline Offline
Newbie Poster

Re: What exactly is xml?

  #4  
Dec 21st, 2005
Hi ,
HTML is about displaying information and XML is about describing information. It was created to structure, store and send information. With HTML , you can't define your won tags but with XML you can invent your own tags. For more information on XML check out http://www.w3schools.com
Reply With Quote  
Join Date: Nov 2005
Posts: 66
Reputation: guideseeq is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
guideseeq guideseeq is offline Offline
Junior Poster in Training

Re: What exactly is xml?

  #5  
Dec 22nd, 2005
What exactly is xml?
XML is difficult. It is a trend. It is used very much these days in B2B (Business to Business) data sharing. XSL and XSLT (style sheets methods to display a XML file) is actually diffiuclt and essential part of XML.

XML is exact, HTML is not. XML is a technology using that, you could separate presentation and data/text; this is not really possible with HTML. Note that XML is displayed as X/HTML since XML is not a human-friendly reading.

XML is not a presentation language; it won't replace X/HTML. To really comprehend it, use it in few test examples .. it is easy (only XSL/XSLT is difficult for beginners)
_________________________________
`~@#\^%&*/\.<.\/-|+|_!:;..=?>
Nonprofilt public funds
Reply With Quote  
Join Date: Dec 2004
Posts: 1,589
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 34
Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: What exactly is xml?

  #6  
Dec 22nd, 2005
Some of these descriptions of HTML are a bit off. It is exact, there is an exact definition/specification for each HTML version. It isn't precisely about "displaying information". It is a structure for a document, true. But the specific manner in which that document is display is not a part of HTML. That's up to the browser, and CSS.
Reply With Quote  
Join Date: Jul 2005
Posts: 1
Reputation: rexapex is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
rexapex rexapex is offline Offline
Newbie Poster

Re: What exactly is xml?

  #7  
Dec 29th, 2005
Some interesting definitions of XML. Here's my short one, which may or may not be technically correct, but I find it a useful point of view:

XML is a computer friendly version of SGML. It is a general purpose markup language just like SGML, but refined to be easier to manipulate with computer technology. The primary purpose of XML is for defining application specific markup languages. Examples of such markup languages are xhtml, wml, rss.
Reply With Quote  
Join Date: Jan 2006
Posts: 8
Reputation: Sudhakarj is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Sudhakarj's Avatar
Sudhakarj Sudhakarj is offline Offline
Newbie Poster

Re: What exactly is xml?

  #8  
Jan 23rd, 2006
hi friends.
we will start from scratch.. at first XML stands foe eXtensible Markup Language.

eXtensible -> Where u can define ur own tags to create the data file.
Markup -> The language which uses tags to store data.

markup languages are derived from SGML as our friends said above. SGML was a very vast lang which provides both defined tags and manual user tags. So it was very difficult to work with SGML so ppl came with solutiion like HTML (All tags predefined) XML (None of tags are defined u have create ur own tags)

there are few rules for XML.
1. Well formed
2. Valid

Well formed means all the tags should be properly nested
Valid means the file is composed according to DTD (document type definition) or XSD

XML is all about data. Porting data between incompatible system is the best feature of XML.

U can also display XML file as HTML, TEXT, PDF (using FOP) for this we need another X called XSL and XSl FO which internally usase XSLT(An Engine)

U can query the XML file using XPATH or XQUERY

U can give links using XLINK.

For parsing a XML file we either use (SAX or DOM) read on net about them.

The future of XML is very bright

well one thing wanna say XML is not a replacement of HTML.

Happy X 'ing
Reply With Quote  
Join Date: Jan 2006
Location: Balkh
Posts: 67
Reputation: jamshid is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
jamshid's Avatar
jamshid jamshid is offline Offline
Junior Poster in Training

Re: What exactly is xml?

  #9  
Oct 12th, 2006
Originally Posted by Yuki H. View Post
I was wondering- is xml sort of considered like a stylesheet? (example: css) or is it more considered something like html? where you make tables and such.


XML is not a replacement for HTML.
XML and HTML were designed with different goals:

XML was designed to describe data and to focus on what data is.
HTML was designed to display data and to focus on how data looks.

HTML is about displaying information, while XML is about describing information.

I hope i can help you .....
Impossible is Nothing
Reply With Quote  
Join Date: Jan 2006
Location: Balkh
Posts: 67
Reputation: jamshid is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
jamshid's Avatar
jamshid jamshid is offline Offline
Junior Poster in Training

Re: What exactly is xml?

  #10  
Oct 12th, 2006
And Also i wanna say this too that : Maybe it is a little hard to understand, but XML does not DO anything. XML was created to structure, store and to send information.
....
Impossible is Nothing
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb RSS, Web Services and SOAP Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the RSS, Web Services and SOAP Forum

All times are GMT -4. The time now is 11:45 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC