ANSWERS: 2
-
Xtended Markup Language. It's a way of organising information. An example would be the following, which is an NZB XML file (which is a usenet file type used for downloading files from usenet which are broken into many RAR files): Here follows a sample NZB for a single small file: <?xml version="1.0" encoding="iso-8859-1" ?> <!DOCTYPE nzb PUBLIC "-//newzBin//DTD NZB 1.0//EN" "http://www.newzbin.com/DTD/nzb/nzb-1.0.dtd"> <nzb xmlns="http://www.newzbin.com/DTD/2003/nzb"> <file poster="Joe Bloggs <bloggs@nowhere.example>" date="1071674882" subject="Here's your file! abc-mr2a.r01 (1/2)"> <groups> <group>alt.binaries.newzbin</group> <group>alt.binaries.mojo</group> </groups> <segments> <segment bytes="102394" number="1">123456789abcdef@news.newzbin.com</segment> <segment bytes="4501" number="2">987654321fedbca@news.newzbin.com</segment> </segments> </file> </nzb> This example is for one file, consisting of two segments, which are 102,394 bytes and 4,501 bytes. The file is posted into two groups, alt.binaries.newzbin and alt.binaries.mojo; it was posted by Joe Bloggs, at unixtime 1071674882. The subject is slightly munged; the segment counter always starts at 1; but you can see it has 2 segments; confirmed by the segments tags below. This is a fully populated nzb file, all the tags and attributes you can expect to see are there, but clients are expected to cope should more be added. Since this is an XML format, clients are encouraged to use an XML parser to process it; minor changes to the nzb files we generate such as with attribute ordering, indentation, and even new tags and attributes must be taken into account. XML PI's and CDATA sections are not expected to be used, so clients should be free to cut some corners using lightweight parsers. We will, where possible, avoid changes which may break clients; even those which use simple pattern matchers. Significant changes to the format are unlikely at this point, but users of the format should try not to get too complacent. The rest of this is in the following link, it clearly shows in a table format how XML is used: http://docs.newzbin.com/index.php/Newzbin:NZB_Specs
-
If you need to display dynamic data in your HTML document, it will take a lot of work to edit the HTML each time the data changes. With XML, data can be stored in separate XML files. This way you can concentrate on using HTML for layout and display, and be sure that changes in the underlying data will not require any changes to the HTML. With a few lines of JavaScript, you can read an external XML file and update the data content of your HTML. Uses In Real Time: 1)XML Simplifies Data Sharing 2)XML Simplifies Data Transport 3)XML Simplifies Platform Changes 4)XML Makes Your Data More Available 5)XML is Used to Create New Internet Languages A lot of new Internet languages are created with XML. Here are some examples: XHTML the latest version of HTML WSDL for describing available web services WAP and WML as markup languages for handheld devices RSS languages for news feeds RDF and OWL for describing resources and ontology SMIL for describing multimedia for the web
Copyright 2023, Wired Ivy, LLC

by 