How XML Works

Learn from previous article Introduction to XML

How XML Works? As described above, XML is a markup language. However, unlike in HTML web browser how to display the ordering information, XML only marking information in a structured so as to facilitate other applications untuke use the document. As with HTML, XML also uses tags. If tags are standard HTML, XML tags can be made, according to the needs. To facilitate the application reads any tags containing information and the hierarchical structure.

Programs that actually tries to understand the content (conten) of the XML document using the XML parser to read the document. Parser function divides the document into elements, attributes, and other parts are smaller. The results of the XML document parser is used to application parts. If any pointers on Perser results are syntax violation of the well-formedness rules of XML, the parser will send an error message keaplikasi and the application will stop parsing. In some cases, the parser will probably continue on a document, skip the original error, so that it can be known and the response of other errors that will occur in the document.

Applications that receive data from the parser such as:

  1. Web browsers such as Netscape Navigator or Internet Explorer that displays the document to be read
  2. Word processors are like StarOffice Writer containing the XML document to be changed
  3. Such as Microsoft SQL Server database that stores XML data in a new record
  4. Drawing programs such as Adobe Illustrator that interpret XML as a two-dimensional coordinates for the content of an image.
  5. Gnumeric spreadsheet as the mem-XML parser to find the number and functions used in calculators
  6. Personal finance programs like Microsoft Money that reads XML as a bank statement.
  7. Syndication program that reads an XML document and clicking extract to today's news headlines
  8. Programs written in Java, C, Python or any other programming language that is used in accordance with the wishes of the program makers.





Thanks for your comment
Technology Blogs
blog directory