XML

XML

Extensible Markup Language (XML) is a flexible, structured document format that defines human- and machine-readable encoding rules.
Were  Joyce

Were Joyce

1638791587

RESTful Web Service with POST Request in XML Example Using Spring Boot

In this tutorial, we'll learn RESTful Web Service with POST Request in XML Example Using Spring Boot

#rest #spring-boot #java #xml 

RESTful Web Service with POST Request in XML Example Using Spring Boot

XML Tutorial for Beginners - Full Course

XML Tutorial for beginners - Learn XML basics programming

XML - Extensible Markup Language (XML) is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. It is defined in the XML 1.0 Specification produced by the W3C, and several other related specifications, all gratis open standards.
The design goals of XML emphasize simplicity, generality, and usability over the Internet. It is a textual data format with strong support via Unicode for the languages of the world. Although the design of XML focuses on documents, it is widely used for the representation of arbitrary data structures, for example in web services.
Many application programming interfaces (APIs) have been developed for software developers to use to process XML data, and several schema systems exist to aid in the definition of XML-based languages.
As of 2009, hundreds of XML-based languages have been developed, including RSS, Atom, SOAP, and XHTML. XML-based formats have become the default for many office-productivity tools, including Microsoft Office (Office Open XML), OpenOffice.org and LibreOffice (OpenDocument), and Apple's iWork. XML has also been employed as the base language for communication protocols, such as XMPP.

The XML specification defines an XML document as a text that is well-formed, i.e., it satisfies a list of syntax rules provided in the specification. The list is fairly lengthy; some key points are:
It contains only properly encoded legal Unicode characters.

#xml #developer #programming 

XML Tutorial for Beginners - Full Course
Alisha  Larkin

Alisha Larkin

1637730000

Compare The Difference Between HTML and XML for Beginners 2022

👉HTML and XML are two popular languages that are used all over the internet. These languages have various applications, advantages and disadvantages based on their usage. Both HTML and XML have originated from Standard Generalized Markup Language and responds directly or indirectly through AJAX in browsers upon requests. Even if both are markup languages, there is a lot of difference between their working. In this article, we will be discussing these two languages.

⭐️You can see more at the link at the end of the article. Thank you for your interest in the blog, if you find it interesting, please give me a like, comment and share it with everyone. Thanks! ❤️

#html #xml 

Compare The Difference Between HTML and XML for Beginners 2022
Dexter  Goodwin

Dexter Goodwin

1636110780

Difference YAML vs JSON vs XML: Which One to Choose?

You would have come across these formats a lot in your codebase or during everyday work but many times, we don't understand the differences between them. This becomes especially important while managing configs and properties in your code. I will try to shine a little light on these as best I can to help you understand which one to use for your specific case.

#yaml #json #xml #javascript 

Difference YAML vs JSON vs XML: Which One to Choose?

IISサーバーでASP.NetWebAPIをホストする

この記事では、ASP .NET Web APIをインターネットインフォメーションサービス(IIS)サーバーでホストする方法を示します。これは、ローカルホストでWebAPIアプリケーションをホストする場合に役立ちます。

インターネットインフォメーションサービス(IIS)

IISは、インターネットインフォメーションサービスの頭字語です。これは、Microsoftによって作成された機能拡張モジュールのセットです。IISは、WindowsServer製品の不可欠な部分です。ハイパーテキスト転送プロトコル(HTTP)、ファイル転送プロトコル(FTP)、SMTP(Simple Mail Transfer Protocol)などをサポートします。Windowsがインストールされている場合、IISは自動的にオンになりません。

IISホスティングの利点

  • IISでWebAPIをホストすると、他のIISアプリケーションと同様に展開および管理されます。
  • IISでアプリケーションをホストすると、ホストされているアプリケーションの信頼性を高めるプロセスのアクティブ化とリサイクル機能を提供できます。
  • Web APIはIISでホストされているため、ホストされているサービスの開発と展開が簡単になります。

IISサーバーでのWebAPIのホスティング

ステップ1

最初にIISを開きます。スタートメニューから開始できます。検索ボックスに「inetmgr」と入力します。画像は次のようになります。

iis.jpg

コントロールパネルを使用して開くことができます。

  • 「コントロールパネル」内。
  • [管理ツール]-> [インターネットインフォメーションサービス(IIS)マネージャー]をクリックします。
  • 次の図に画像を表示します。

 

iis1.jpg

 

IISマネージャーが表示されない場合は、システムにIISがインストールされていない可能性があります。インストールの場合は、次の手順に従います。

  • 「コントロールパネル」を開きます。
  • 「プログラムと機能」->「ウィンドウ機能をオンまたはオフにする」。

 

iis2.jpg

 

  • 「ツリービュー」に「Windows機能」ウィンドウが開きます。
  • インストール用のチェックボックスがあります。チェックボックスを選択します。

 

iis3.jpg

 

ステップ2

インターネットインフォメーションサービス(IIS)マネージャーを開くと、ウィンドウは次のようになります。

 

iis16.jpg

 

  • 次に、サイトを右クリックします。
  • 「サイト」->「Webサイトの追加」。

 

iis4.jpg

 

ウィンドウを開きます。それはこのように見えます:

 

iis5.jpg

 

このウィンドウに「サイト名」と入力します。サイト名は「テスト中」で、物理パスを指定します。

「OK」ボタンをクリックすると、アラートボックスが開きます。ポートに関する情報が表示されます。IIS Webサイトのデフォルトのポートは「80」です。変更する場合は、「いいえ」ボタンをクリックしてください。

 

iis6.jpg

 

そして、ポートを変更します。ここでは、ポート「8080」を提供します。そして、「OK」ボタンをクリックします。

 

iis7.jpg

 

これで、次のようなウィンドウが開きます。

 

iis8.jpg

 

サイトからテストサイトをクリックすると、次のように開きます。

 

iis9.jpg

 

ステップ3

次に、「右パネル」から「詳細設定」を確認します。そして、いくつかの設定を変更します。

 

iis10.jpg

 

 

ステップ4

次に、右側のパネルの「アプリケーションプールの編集」で「基本設定」を編集します。その中で、「。NETFrameworkv4.0.30319」である「.NETFrameworkバージョン」と「統合」として「マネージドパイプラインモード」を選択します。

iis12.jpg

ステップ5

このステップでは、アプリケーションを参照する準備ができています。

  • あなたのウェブサイトを右クリックします。
  • 「Webサイトの管理」->「参照」を選択します。

 

iis11.jpg

 

  • アプリケーションはホストされています。「8080」ポートに次のようなアプリケーション「Testing」ホストがあります。

 

iis15.jpg

 

 

ステップ6

私のアプリケーションはFiddlerで動作するため、URL「http:// localhost:8080 / api / products」を記述します。フィドラーを開き、[作成]タブをクリックして、URLを入力します。
 

iis13.jpg

 

出力は次のようになります。

 

iis14.jpg

リンク: https://www.c-sharpcorner.com/

#json #xml #api

IISサーバーでASP.NetWebAPIをホストする
Alisha  Larkin

Alisha Larkin

1633096800

Learn About Character Entities From HTML/XML in Swift

The Web today is a wonderfully addictive mashup of culture, commerce, and technologies, both old and new. As an iOS developer, interacting with the Web is usually trivial. Make an endpoint request of a REST API from a web-server, get back data, decode data. Boom! Done. At least, that’s what I thought, until I ran into odd substrings like ‘"’ and ‘&’ in an xml formatted response I was parsing. These curious bits of text are known as character entity references (CERs) and in this case, stand for the quote ( “) and ampersand (&) characters respectively. In this article I will provide a bit of background about why CERs exist for us non-web developers and give a few practical methods for decoding them in Swift.

#html #swift #xml 

Learn About Character Entities From HTML/XML in Swift

How to Create Dynamic XML File in Blazor for Beginners

Learn how to generate dynamic XML within short time in asp.net core.
Source Code : https://payhip.com/b/pS7IK

#blazor #xml 

How to Create Dynamic XML File in Blazor for Beginners
Franz  Becker

Franz Becker

1632830400

Guide to Using Couchbase As an XML Database

In this article,the Couchbase Eventing Service is used to instantly translates XML into JSON allowing you to use SQL++ to access any element.

#database #xml 

Guide to Using Couchbase As an XML Database
Shannon  Rippin

Shannon Rippin

1632481210

Send Http Requests with XMLHTTPREQUEST in JavaScript

In this tutorial, we will learn how to send Http Requests with XMLHTTPREQUEST in JavaScript 

Explained about 
* XMLHttpRequest
 

#javascript   #xml  #webdevelopers

 

Send Http Requests with XMLHTTPREQUEST in JavaScript
Alisha  Larkin

Alisha Larkin

1632369600

How to Parse XML/HTML Syntax for Swift in Kanna

Kanna(鉋) is an XML/HTML parser for cross-platform(macOS, iOS, tvOS, watchOS and Linux!).

#xml #html #swift #kanna 

How to Parse XML/HTML Syntax for Swift in Kanna

A Flutter Plugin to Get Details From Aadhaar Xml on Android and IOS

flutter_aadhaar_xml_sdk

A Flutter plugin to get details from aadhaar xml on Android and iOS

. Supports iOS, Android.

Usage

To use this plugin, add flutter_aadhaar_xml_sdk as a dependency in your pubspec.yaml file.

Installation

Android

Add following in AndroidManifest.xml

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

Add following in build.gradle

        minSdkVersion 18
        targetSdkVersion 29

Add following in styles.xml

<?xml version="1.0" encoding="utf-8"?>

<resources>
    <!-- Theme applied to the Android Window while the process is starting -->
    <style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
        <!-- Show a splash screen on the activity. Automatically removed when
             Flutter draws its first frame -->
        <item name="android:windowBackground">@drawable/launch_background</item>
    </style>
    <!-- Theme applied to the Android Window as soon as the process has started.
         This theme determines the color of the Android Window while your
         Flutter UI initializes, as well as behind your Flutter UI while its
         running.
         
         This Theme is only used starting with V2 of Flutter's Android embedding. -->
    <style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
        <item name="android:windowBackground">@android:color/white</item>
    </style>
</resources>

Replace activity theme with following

android:theme="@style/LaunchTheme"

iOS

Add following in Podfile

source 'https://github.com/CocoaPods/Specs.git'

source 'https://bitbucket.org/ios-external/podspecs.git'

target '${OfflineKYCExample}' do

  use_frameworks!

  pod 'OfflineAadhaar'

end

Add following in Info.plist.

	<key>UIViewControllerBasedStatusBarAppearance</key>
	<true/>
	<key>UIStatusBarStyle</key>
	<string>UIStatusBarStyleDarkContent</string>

Example

import 'package:flutter/material.dart';
import 'dart:async';

import 'package:flutter/services.dart';
import 'dart:io';
import 'package:flutter_aadhaar_xml_sdk/AndroidAadhaarModel.dart';
import 'package:flutter_aadhaar_xml_sdk/IosAadhaarModel.dart';
import 'package:flutter_aadhaar_xml_sdk/flutter_aadhaar_xml_sdk.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  String _xmlData = 'Unknown';

  @override
  void initState() {
    super.initState();
    initPlatformState();
  }

  // Platform messages are asynchronous, so we initialize in an async method.
  Future<void> initPlatformState() async {
    // HashMap map1 = new HashMap<dynamic, dynamic>();

    // String platformVersion;
    // Object deviceObject;
    // Platform messages may fail, so we use a try/catch PlatformException.
    try {
      String token =
          "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyZXF1ZXN0X2lkIjoiZmJkODhmYTgtMzI5ZS00NGU3LWE1NmItOGJhYzQ0ZTAwYzA1IiwidXNlcl9pZCI6MzkwNzUwLCJzY29wZSI6WyJhYWRoYWFyX3htbCIsInZpZGVvX2t5YyIsImxpdmVuZXNzIl0sImVudiI6InRlc3QiLCJjbGllbnRfaWQiOiJSYWluX0luY19iTTVCNXMiLCJzdGFnZSI6InRlc3QiLCJ1c2VyX3R5cGUiOiJjdXN0b21lciIsImV4cGlyeV90aW1lIjoiMjctMDgtMjAyMVQxMDo1NDo0OCIsInRyYW5zYWN0aW9uSWQiOiIwMWIwMzE2NjA3MjExMWVjODk5MDdlZDU1OGRmNmJlOSJ9.UI0tti-zft-bxSjaYjvQDtHw2BLt02zOZUDzk2vxXc0";
      String env = "test";
      String client = "";
      AndroidAadhaarModel androidMap;
      String finalVal = "";
      IosAadhaarModel iosMap;
      if (Platform.isAndroid) {
        androidMap = await FlutterAadhaarXmlSdk.startSdk(token, env, client);
        String name = androidMap.name;
        String dob = androidMap.dob;
        print("name is ${name} and dob is ${dob}");
        finalVal = "name is ${name} and dob is ${dob}";
      } else if (Platform.isIOS) {
        iosMap = await FlutterAadhaarXmlSdk.startSdk(token, env, client);
        String name = iosMap.name;
        String dob = iosMap.dob;
        print("name is ${name} and dob is ${dob}");
        finalVal = "name is ${name} and dob is ${dob}";
      }

      setState(() {
        _xmlData = finalVal;
      });
      // return map1;
    } on PlatformException {
      // platformVersion = 'Failed to get platform version.';

      // If the widget was removed from the tree while the asynchronous platform
      // message was in flight, we want to discard the reply rather than calling
      // setState to update our non-existent appearance.
      if (!mounted) return;
    }
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Center(
          child: Text('$_xmlData\n'),
        ),
      ),
    );
  }
}

enum EnumEnv { prod, beta, test }

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_aadhaar_xml_sdk

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  flutter_aadhaar_xml_sdk: ^0.0.1

Alternatively, your editor might support or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:flutter_aadhaar_xml_sdk/flutter_aadhaar_xml_sdk.dart'; 

example/lib/main.dart

import 'package:flutter/material.dart';
import 'dart:async';

import 'package:flutter/services.dart';
import 'dart:io';
import 'package:flutter_aadhaar_xml_sdk/AndroidAadhaarModel.dart';
import 'package:flutter_aadhaar_xml_sdk/IosAadhaarModel.dart';
import 'package:flutter_aadhaar_xml_sdk/flutter_aadhaar_xml_sdk.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  String _xmlData = 'Unknown';

  @override
  void initState() {
    super.initState();
    initPlatformState();
  }

  // Platform messages are asynchronous, so we initialize in an async method.
  Future<void> initPlatformState() async {
    // HashMap map1 = new HashMap<dynamic, dynamic>();

    // String platformVersion;
    // Object deviceObject;
    // Platform messages may fail, so we use a try/catch PlatformException.
    try {
      String token =
          "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyZXF1ZXN0X2lkIjoiZmJkODhmYTgtMzI5ZS00NGU3LWE1NmItOGJhYzQ0ZTAwYzA1IiwidXNlcl9pZCI6MzkwNzUwLCJzY29wZSI6WyJhYWRoYWFyX3htbCIsInZpZGVvX2t5YyIsImxpdmVuZXNzIl0sImVudiI6InRlc3QiLCJjbGllbnRfaWQiOiJSYWluX0luY19iTTVCNXMiLCJzdGFnZSI6InRlc3QiLCJ1c2VyX3R5cGUiOiJjdXN0b21lciIsImV4cGlyeV90aW1lIjoiMjctMDgtMjAyMVQxMDo1NDo0OCIsInRyYW5zYWN0aW9uSWQiOiIwMWIwMzE2NjA3MjExMWVjODk5MDdlZDU1OGRmNmJlOSJ9.UI0tti-zft-bxSjaYjvQDtHw2BLt02zOZUDzk2vxXc0";
      String env = "test";
      String client = "";
      AndroidAadhaarModel androidMap;
      String finalVal = "";
      IosAadhaarModel iosMap;
      if (Platform.isAndroid) {
        androidMap = await FlutterAadhaarXmlSdk.startSdk(token, env, client);
        String name = androidMap.name;
        String dob = androidMap.dob;
        print("name is ${name} and dob is ${dob}");
        finalVal = "name is ${name} and dob is ${dob}";
      } else if (Platform.isIOS) {
        iosMap = await FlutterAadhaarXmlSdk.startSdk(token, env, client);
        String name = iosMap.name;
        String dob = iosMap.dob;
        print("name is ${name} and dob is ${dob}");
        finalVal = "name is ${name} and dob is ${dob}";
      }

      setState(() {
        _xmlData = finalVal;
      });
      // return map1;
    } on PlatformException {
      // platformVersion = 'Failed to get platform version.';

      // If the widget was removed from the tree while the asynchronous platform
      // message was in flight, we want to discard the reply rather than calling
      // setState to update our non-existent appearance.
      if (!mounted) return;
    }
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Center(
          child: Text('$_xmlData\n'),
        ),
      ),
    );
  }
}

enum EnumEnv { prod, beta, test } 

Download Details:

Author: flutter

Source Code: https://pub.dev/packages/flutter_aadhaar_xml_sdk/example

#flutter  #xml 

A Flutter Plugin to Get Details From Aadhaar Xml on Android and IOS

How to Create XML File Dynamically in ASP.NET Core

Learn how to generate dynamic XML within short time in asp.net core. 
#aspdotnet #xml 

How to Create XML File Dynamically in ASP.NET Core

Spring Annotation Tutorial for Beginners: Why Autowiring in Spring and XML

Today we will be looking at how to configure autowiring in spring xml and also at java side by using the java @Autowired annotation. So if you are looking out for a spring tutorial with annotation based configuration then this is the one for you, which will get you started with spring annotation like @Autowired, @Qualifier etc.

But before we get into spring annotations, First we try to understand the thing in spring xml and then we will try the same thing with annotations.

So This is how we are going to plan our tutorial today :

Why spring Autowirng
what is spring Autowiring
How to configure spring Autowiring in spring xml
Spring autowire byname vs bytype
Spring autowiring by constructor
Spring autowiring pros and cons
@autowired annotation in spring
@qualifier in spring

So from this tutorial onwards, we will get started with spring core annotations and we will go ahead with a
step by step approach.I will try to keep things simple as much I can and will design these tutorials for absolute spring beginners.

Stay tuned to this playlist for spring framework complete tutorial.

Access the complete spring core course by clicking the below link :
https://www.youtube.com/playlist?list=PL3NrzZBjk6m-nYX072dSaGfyCJ59Q5TEi

for more spring videos, consider subscribing by clicking the following link.

https://www.youtube.com/channel/UCpUYkSDJpHug-vfC5S-NXRA?sub_confirmation=1

Set up Instruction :

1)You can download your spring jar from the below link :
https://repo.spring.io/artifactory/libs-release/org/springframework/spring/5.3.8/spring-5.3.8-dist.zip

2)This is a direct download link to download your spring jars

3)Once done add all your spring jar’s to your project build path
Right click on your project
click on the build path
configure build path
add external jar
select all your jar
click ok and apply

You are ready to use spring framework, my friend !

Git link: (i will update in few days)


#Autowiring #Qualifier #springDependencyInjection

Stay tuned and like my Facebook page for more.

https://www.facebook.com/seleniumexpr…

Music :

credits : -

Adventures by A Himitsu https://soundcloud.com/a-himitsu
Creative Commons — Attribution 3.0 Unported— CC BY 3.0
http://creativecommons.org/licenses/b…
Music released by Argofox https://youtu.be/8BXNwnxaVQE
Music provided by Audio Library https://youtu.be/MkNeIUgNPQ8


intro template :
www.youtube.com/Alexbau01Today we will be looking at how to configure autowiring in spring xml and also at java side by using the java @Autowired annotation. So if you are looking out for a spring tutorial with annotation based configuration then this is the one for you, which will get you started with spring annotation like @Autowired, @Qualifier etc.

But before we get into spring annotations, First we try to understand the thing in spring xml and then we will try the same thing with annotations.

So This is how we are going to plan our tutorial today :

Why spring Autowirng
what is spring Autowiring
How to configure spring Autowiring in spring xml
Spring autowire byname vs bytype
Spring autowiring by constructor
Spring autowiring pros and cons
@autowired annotation in spring
@qualifier in spring

So from this tutorial onwards, we will get started with spring core annotations and we will go ahead with a
step by step approach.I will try to keep things simple as much I can and will design these tutorials for absolute spring beginners.

Stay tuned to this playlist for spring framework complete tutorial.

Access the complete spring core course by clicking the below link :
https://www.youtube.com/playlist?list=PL3NrzZBjk6m-nYX072dSaGfyCJ59Q5TEi

for more spring videos, consider subscribing by clicking the following link.

https://www.youtube.com/channel/UCpUYkSDJpHug-vfC5S-NXRA?sub_confirmation=1

Set up Instruction :

1)You can download your spring jar from the below link :
https://repo.spring.io/artifactory/libs-release/org/springframework/spring/5.3.8/spring-5.3.8-dist.zip

2)This is a direct download link to download your spring jars

3)Once done add all your spring jar’s to your project build path
Right click on your project
click on the build path
configure build path
add external jar
select all your jar
click ok and apply

You are ready to use spring framework, my friend !

Git link: (i will update in few days)


#Autowiring #Qualifier #springDependencyInjection

Stay tuned and like my Facebook page for more.

https://www.facebook.com/seleniumexpr…

Music :

credits : -

Adventures by A Himitsu https://soundcloud.com/a-himitsu
Creative Commons — Attribution 3.0 Unported— CC BY 3.0
http://creativecommons.org/licenses/b…
Music released by Argofox https://youtu.be/8BXNwnxaVQE
Music provided by Audio Library https://youtu.be/MkNeIUgNPQ8


intro template :
www.youtube.com/Alexbau01

#xml #spring

Spring Annotation Tutorial for Beginners: Why Autowiring in Spring and XML

How to Read or Write XML from a Node.js Application

At some point, you'll run into cases where you need to read or write XML from a Node.js application. Learn your options here.

When you think about Node.js, XML probably isn’t the first thing that comes to mind. But there are cases where you may find you need to read or write XML from a Node.js application. It is no coincidence that a search for “XML” on npm returns 3,400+ results; there is a considerable collection of XML-related packages that specialize in different ways of working with XML.

In this article, we will explore some real-world XML use cases using some of the most popular npm packages available, including:

Note that the code examples in this article are for demonstration purposes. Elaborate, working sample code is available at briandesousa/node-xml-demo.

If you want to follow along with the instructions in this article, you may want to start by generating an Express app with express-generator. Select the Pug view engine (view code examples are written as Pug templates).

#node #nodejs #xml

How to Read or Write XML from a Node.js Application
Emilie  Okumu

Emilie Okumu

1627377840

HTML Vs XML: Difference Between HTML and XML [2021]

In this article, HTML and XML shall be discussed in detail to understand the differences between them.


What is HTML?

Hypertext Markup Language (HTML) is a programming language that displays data and describes a web page’s structure. Hypertext facilitates browsing the web by referring to the hyperlinks an HTML page contains. The hyperlink enables one to go to any place on the internet by clicking it. There is no set order to do so.

What is XML?

Extensible Markup Language (XML) is a programming language created by the World Wide Web Consortium (W3C). XML facilitates encoding documents, defined by a set of rules, in a format that can be read by both humans and machines. By using tags, XML defines the document structure, how it should be stored and transported. It enables the creation of web applications and web pages and is a dynamic language that transports data.

HTML vs XML: Key Differences

In a nutshell, the following table summarises some vital differences between HTML and XML.

HTMLXML
Is a markup language.Is a standard markup language that defines other markup languages.
Is not case sensitive.Is case sensitive.
Doubles up as a presentation language.Is not a presentation language nor a programming language.
Has its own predefined tags.Tags are defined as per the need of the programmer. XML is flexible as tags can be defined when needed.
Closing tags are not necessarily needed.Closing tags are used mandatorily.
White spaces are not preserved.Capable of preserving white spaces.
Showcases the design of a web page in the way it is displayed on client-side.Enables transportation of data from database and related applications.
Used for displaying data.Used for transferring data.
Static in nature.Dynamic in nature.
Offers native support.With the help of elements and attributes, objects are expressed by conventions.
Null value is natively recognised.Xsi:nil on elements is needed in an XML instance document.
Extra application code is not needed to parse text.XML DOM application and implementation code is needed to map text back into JavaScript objects.

#html #xml 

HTML Vs XML: Difference Between HTML and XML [2021]