XML, or Extensible Markup Language, is a subset  of the more complex SGML (Standard Generalized Markup Language). XML makes use  of syntax tags that helps to identify the various data  types in a file. XML is referred to as a metalanguage that describes other  languages. It is part of the large markup language family that was created by  the World Wide Web Consortium (W3C). XML, unlike HTML  (another Markup Language), was made optionless so that the data  remains uniform in different browsers. XML pages are much more flexible than  HTML pages which will definitely help XML replace HTML in the future.

XAML, or Extensible Application Markup Language,  is a declarative XML-based markup language that is part of the Microsoft suite.  It helps in the visual presentation of an application developed in Microsoft  Expression Blend. This application can either be created by hand or visually  using Design View of Expression Blend. In both cases you end up writing XAML  code. XAML allows you to initialize objects and set their properties using a  hierarchical relationship. It uses the period  notation to define the attribute as a property of the object. You can even build  visible UI elements using XAML. XAML can seamlessly move around different tools  like Visual Studio or Microsoft Expression Blend without any loss of data.

Differences:

1.All XAML documents are also valid XML  documents, but the vice-versa case doesn’t hold true.

2.XML is a markup language whereas XAML is a  declarative application language.

3.XML finds its use primarily in web  applications in contrast to XAML which is used to design controls for Windows as  well as web applications.

Summary:

1.XAML is a declarative application language  that focuses on object definition, their properties, and their relationship  between one another.

2.XML is a markup language created by W3C that  is used to describe other markup languages.

3.XML is used in web publishing to create  interactive pages, for web searching, and to automate certain web tasks. It  finds use in e-commerce and helps in displaying information  on wireless devices and cellphones.

4.XAML is used to create, edit, and reuse GUIs  for Windows and certain web applications like Silverlight  plug-ins.

5.XAML is currently available for only the  Windows platform. It will be eventually moved to other platforms over a period  of time. XML is set to replace HTML because of its flexibility.

Read more:  Difference Between XML and XAML | Difference Between | XML vs XAML http://www.differencebetween.net/technology/software-technology/difference-between-xml-and-xaml/#ixzz2l6mdit3X

Difference Between XML and XAML.的更多相关文章

  1. C#读取带命名空间的xml,xaml文件的解决方案

    使用C#读取xml文件有三种常用的方式: 1.xmlDocument 2.XmlTextReader 3.Linq To Xml 但是这些方式在读写有些带命名空间的xml时就不知道怎么办了(例如把xa ...

  2. XML生成XAMl扩展

    所有的WPF控件列为枚举 代码如: 1 public enum ControlType 2 { 3 Window_Resources, 4 Page_Resources, 5 Grid, 6 Stac ...

  3. Xaml/Xml 实现对象与存储分离

    刚开始用xml存储东西的时候都是不断的在xml文件里面添加或者修改xml的节点,这个是很常见的做法,这方面的博客也很多我也就不介绍了.但其实在小批量存储的时候我们可以直接将对象存进xml/xaml,使 ...

  4. 04.移动先行之谁主沉浮----XAML的探索

    如果移动方向有任何问题请参考===> 异常处理汇总-移动系列(点) 移动先行之谁主沉浮? 带着你的Net飞奔吧! 链接======>(点) XMAL引入 XAML 类似于 HTML,是一种 ...

  5. (转载)XML Tutorial for iOS: How To Choose The Best XML Parser for Your iPhone Project

    There are a lot of options when it comes to parsing XML on the iPhone. The iPhone SDK comes with two ...

  6. Xamarin.Forms XAML的辅助功能Code Snippet

    Xamarin.Forms XAML的辅助功能Code Snippet   在Visual Studio中,使用Code Snippet(代码片段)功能可以减少基础代码的编写量,如常见的标签.循环语句 ...

  7. Xamarin.Forms之XAML

    官网参考 XAML基础知识 XAML(eXtensible Application Markup Language)可扩展应用程序标记语言,允许开发者在Xamarin.Forms应用中采用标记而不是代 ...

  8. WPF教程一:创建Hello world来理解XAML的内容及编译

    在实际的WPF开发中遇到很多再用Winform写法来写WPF的开发人员,很多时候项目进度延期.出现非必要的BUG等等.大多是因为开发人员虽然是再写WPF. 但是没有好好的学过WPF,就导致无法发挥出W ...

  9. VS 插件ReSharper10 破解注册方法(转)

    ReSharper 10.0.0.1 Ultimate 完美破解补丁使用方法,本资源来自互联网,感谢吾乐吧软件站的分享. ReSharper是一款由jetbrains开发的针对C#, VB.NET, ...

随机推荐

  1. Cow Marathon

    poj1985:http://poj.org/problem?id=1985 题意:就是树的直径. 题解:直接DFS即可. #include<iostream> #include<c ...

  2. Android 判断是否联网 是否打开上网

    ConnectivityManager cwjManager=(ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE); ...

  3. 转载百度百科上的强回复,关于spring的IOC和DI

    IoC与DI   首先想说说IoC(Inversion of Control,控制倒转).这是spring的核心,贯穿始终.所谓IoC,对于spring框架来说,就是由spring来负责控制对象的生命 ...

  4. keil 工程中多文件编译时全局变量怎么引用

    由于代码较多时,为了代码的工整以及易读性,往往将代码拆分成模块,并书写头文件.但keil中定义全局变量往往是一件头疼的事情. (1)xx.h文件中基本书写的是管脚定义和函数声明,全局变量不能定义在头文 ...

  5. css学习笔记二之inline-block

    1.inline-block是CSS2.1中新增的盒类型,在div中将display属性设定为"inline-block",则div显示效果与设置display属性为"i ...

  6. 2.5.4 使用popupWindow

    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout ...

  7. C++ Prime:预处理器

    C++程序会用到的一项预处理功能是头文件保护符,头文件保护符依赖于预处理变量.预处理变量有两种状态:已定义和未定义,#define指令把一个名字设定为预处理变量,另外两个指令则分别检查某个指定的预处理 ...

  8. Node.js权威指南 (11) - 加密与压缩

    11.1 加密与解密处理 / 295 11.1.1 crypto模块概述 / 295 11.1.2 散列算法 / 296 11.1.3 HMAC算法 / 297 11.1.4 公钥加密 / 29811 ...

  9. C语言基础课程 第四课 它山之石可以攻玉---C语言数据类型和表达式

     1         C语言中的数据类型 1.1      常量 常量就是在程序中不可变化的量 1.1.1         #define #define MAX 10 Define;//定义了一 ...

  10. (转载)MySQL BETWEEN 用法

    (转载)http://www.5idev.com/p-php_mysql_between.shtml MySQL BETWEEN 语法 BETWEEN 运算符用于 WHERE 表达式中,选取介于两个值 ...