Difference Between XML and XAML.
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.的更多相关文章
- C#读取带命名空间的xml,xaml文件的解决方案
使用C#读取xml文件有三种常用的方式: 1.xmlDocument 2.XmlTextReader 3.Linq To Xml 但是这些方式在读写有些带命名空间的xml时就不知道怎么办了(例如把xa ...
- XML生成XAMl扩展
所有的WPF控件列为枚举 代码如: 1 public enum ControlType 2 { 3 Window_Resources, 4 Page_Resources, 5 Grid, 6 Stac ...
- Xaml/Xml 实现对象与存储分离
刚开始用xml存储东西的时候都是不断的在xml文件里面添加或者修改xml的节点,这个是很常见的做法,这方面的博客也很多我也就不介绍了.但其实在小批量存储的时候我们可以直接将对象存进xml/xaml,使 ...
- 04.移动先行之谁主沉浮----XAML的探索
如果移动方向有任何问题请参考===> 异常处理汇总-移动系列(点) 移动先行之谁主沉浮? 带着你的Net飞奔吧! 链接======>(点) XMAL引入 XAML 类似于 HTML,是一种 ...
- (转载)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 ...
- Xamarin.Forms XAML的辅助功能Code Snippet
Xamarin.Forms XAML的辅助功能Code Snippet 在Visual Studio中,使用Code Snippet(代码片段)功能可以减少基础代码的编写量,如常见的标签.循环语句 ...
- Xamarin.Forms之XAML
官网参考 XAML基础知识 XAML(eXtensible Application Markup Language)可扩展应用程序标记语言,允许开发者在Xamarin.Forms应用中采用标记而不是代 ...
- WPF教程一:创建Hello world来理解XAML的内容及编译
在实际的WPF开发中遇到很多再用Winform写法来写WPF的开发人员,很多时候项目进度延期.出现非必要的BUG等等.大多是因为开发人员虽然是再写WPF. 但是没有好好的学过WPF,就导致无法发挥出W ...
- VS 插件ReSharper10 破解注册方法(转)
ReSharper 10.0.0.1 Ultimate 完美破解补丁使用方法,本资源来自互联网,感谢吾乐吧软件站的分享. ReSharper是一款由jetbrains开发的针对C#, VB.NET, ...
随机推荐
- 什么是系统,什么是算法 -- lemon OA 系统学习总结
一.对于模块划分的理解 对于一个大型(这里还只是一个中型系统)系统来说,代码的编写不是一日而就的,层次的明细也不是一眼就能看清楚的. 在这种情况下,需要想好,最好是由上而下地想好. 能够模块式地划分最 ...
- 【转】Android--多线程之Handler--不错
原文网址:http://www.cnblogs.com/plokmju/p/android_handler.html 前言 Android的消息传递机制是另外一种形式的“事件处理”,这种机制主要是为了 ...
- 区分execl与system——应用程序中执行命令
execl:相关函数:fork, execle, execlp, execv, execve, execvp表头文件:#include <unistd.h>函数定义:int execl(c ...
- WIA Property Constant Definitions
(@http://msdn.microsoft.com/en-us/library/windows/desktop/ms630202(v=vs.85).aspx): const DeviceID = ...
- HTMLTestRunner生成空白resault.html
发现一奇葩问题,用idle或pyscripter执行脚本,生成的是空白html,通过cmd,进入脚本目录执行python xx.py,却能生成测试报告. HTMLTestRunner 例子 #codi ...
- js 的 提交
<script type="text/javascript"> function sub(){ if(document.form1.xingming.value==&q ...
- What version of .NET Framework is integrated into what version of OS?
http://blogs.msdn.com/b/astebner/archive/2007/03/14/mailbag-what-version-of-the-net-framework-is-inc ...
- MySQL可视化管理工具 —— Navicat for MysSQL
类似PL/SQL管理Oracle的工具 Navicat可以管理MySQL 1.安装 2.连接(输入IP.端口.用户名.密码) 3.新建sql语句:点击左侧database.点击菜单“查询”.点击“新建 ...
- Javac编译和JIT编译
编译过程 不论是物理机还是虚拟机,大部分的程序代码从开始编译到最终转化成物理机的目标代码或虚拟机能执行的指令集之前,都会按照如下图所示的各个步骤进行: 其中绿色的模块可以选择性实现.很容易看出,上图中 ...
- linux下配置固定ip
今天在VM上装linux6.3,装的时候没有配置ip,虚拟机连接方式选的NAT方式,可以直接上网.我装这几次虚拟机系统只有这次虚拟机上去网了,挺爽.但是问题又出来了,就是我本机Windows远程不上虚 ...