English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Can someone help me understand XML. I've been to xml.com and others but I still don't understand what its used for and how it works. For example EDI applications, is it a programming language?, and anything else relevant.

Thanks,

James

2007-08-17 05:57:15 · 3 answers · asked by stoneybalonious 1 in Computers & Internet Programming & Design

3 answers

Basically, XML is used to transfer data in a standard format. Data is contained in "nodes" as attributes or inner text between opening and closing nodes. The reason XML is used is for the strict compliance it requires to standards (ex: all nodes must be closed).


I am Data

The programmer defines what the node is, and usually the receiver of the data assigns the node name to a variable and the data to the value. This allows data providers a standard to sell or dissiminate their data across the web to any type of platform.

2007-08-17 07:33:13 · answer #1 · answered by Anonymous · 0 0

XML is used to describe a document object model. It contains tags which can contain textual data or attributes (which are textual data). Think of it this way: the advantage of XML is, if you need to see the contents of a data file, XML is human readable. The alternative is a messy text file structure, or worse, pure binary, which is not human readable.

XML can be used to describe any data structure that is hierarchical or array based (so, pretty much all of them). What the XML represents is up to the designer; HTML is similar to XML but the browser expects certain tags like . XML could be used to represent a collection of books, music songs, a list of contacts; virtually anything, but it is up to the designer to code this association between the XML data and its representation.<br /> <br /> I wouldn't say it's a programming language because it contains no operators (like +, -, /) and no language constructs, it is purely data in text form only. </p> <p> <small> 2007-08-17 06:59:25 · <a href="#answer20070817065925">answer #2</a> · <span>answered by <u>Pfo</u> <b>7</b></span> · <span>0<span style='color:green;'>⤊</span></span> <span>0<span style='color:red;'>⤋</span></span> </small> </p> </div> <div id="answer20070817060427" class='answer' > <!-- <b>Answer #3</b> --> <p class='answer-content' lang="en"> XML is eXtensible Markup Language. If you think about how HTML works with tags, XML is similar -- except you make up the tags.<br /> <br /> It's not a programming language -- more of a standardized script language for specifying settings. </p> <p> <small> 2007-08-17 06:04:27 · <a href="#answer20070817060427">answer #3</a> · <span>answered by <u>mdigitale</u> <b>7</b></span> · <span>1<span style='color:green;'>⤊</span></span> <span>0<span style='color:red;'>⤋</span></span> </small> </p> </div> </div> </article> </section> <div style="background:#888;padding:8px;margin-top:16px;"> fedest.com, questions and answers </div> </body> </html>