What is The Difference Between XML And Occam, Programming Languages
XML is a Markup Language, while Occam is a Procedural Programming Language
What are Markup Languages
A markup language is an artificial language that uses annotations to text that define how the text is to be displayed.
What are Procedural Programming Languages
Procedural (imperative) programming implies specifying the steps that the programs should take to reach to an intended state. A procedure is a group of statements that can be referenced through a procedure call. Procedures help in the reuse of code. Procedural programming makes the programs structured and easily traceable for program flow.
While XML is a Markup Language, and Occam is a Procedural Programming Language
Let us now look at the difference between the two:
What is XML Programming Language – A brief synopsis
The name stands for Extensible Markup Language. It is extensible because it allows the users to define their own XML elements. It supports the sharing of structured data over the Internet and the encoding and serializing of data. It originated as a subset of SGML. XPath is the XML Path Language that is used to select nodes from an XML document. It supports the computation of values. XQuery is used to query the collections of XML data. Extensible Stylesheet Language Transformations (XSLT) is an XML-based language that is used for the transformation of XML documents into human-readable formats. Apache Ant is a tool for the automation of software build processes. It uses XML to describe the build processes.
What is Occam Programming Language – A brief synopsis
It is an imperative procedural language that was developed by David May and his colleagues at INMOS. It is similar to Pascal. Occam-pi is a variant of Occam that has been extended to include nested protocols, recursion, protocol inheritance, array constructors and run-time process creation.
Sources
A Complete List of Computer Programming Languages
Other Posts