What is The Difference Between XML And Ruby, Programming Languages

XML is a Markup Language, while Ruby is an Interpreted 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 Interpreted Programming Languages

An interpreted language is a programming language for which most of its implementations execute instructions directly, without previously compiling a program into machine-language instructions. The interpreter executes the program directly, translating each statement into a sequence of one or more subroutines already compiled into machine code. (Wikipedia)

While XML is a Markup Language, and Ruby is an Interpreted 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 Ruby Programming Language – A brief synopsis

The efforts for developing this language initiated in Japan in the 1990s. Similar to Perl, it has a dynamic type system and an automatic memory management. It supports multiple programming paradigms and is a dynamic object-oriented language.

Sources

A Complete List of Computer Programming Languages

Other Posts

Menu