XML Review @2011 Mihail L. Sichitiu.

Slides:



Advertisements
Similar presentations
The eXtensible Markup Language (XML) An Applied Tutorial Kevin Thomas.
Advertisements

WeB application development
1 Extensible Markup Language: XML HTML: portable, widely supported protocol for describing how to format data XML: portable, widely supported protocol.
Made by: Dan Ye. Introduction Basic Last Page ☆ HTML stands for Hyper Text Markup Language; ☆ HTML is not a programming language, it is a markup language;
The Internet and the WWW What’s the difference between the Internet and the World Wide Web (WWW)? Or are they the same thing? The Internet and the WWW.
1 Extensible Markup Language: XML HTML: portable, widely supported protocol for describing how to format data XML: portable, widely supported protocol.
Android Life Cycle CS328 Dick Steflik. Life Cycle The steps that an application goes through from starting to finishing Slightly different than normal.
Introduction to XML Extensible Markup Language
Basic, Basic, Basic Android. What are Packages? Page 346 in text Package statement goes before any import statements Indicates that the class declared.
Introduction to XML Extensible Markup Language Carol Wolf Computer Science Department.
HTMLMR.Mostafa badr1. Lesson 3 HTML Tags Lesson 2 Creating a HTML File Lesson 1: Hyper Text Markup Language (HTML) Basics Get Trained for a Better Future.
@2011 Mihail L. Sichitiu1 Android Introduction Hello World.
 XHTML is aimed to replace HTML  XHTML is almost identical to HTML 4.01  XHTML is a stricter and cleaner version of HTML  XHTML is HTML defined as.
CS 299 – Web Programming and Design Introduction to HTML.
HTML Structure & syntax
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
Introduction to XML Extensible Markup Language. What is XML XML stands for eXtensible Markup Language. A markup language is used to provide information.
HTML and XML Behind Web Authoring Tools. 2 Objectives Introduce HTML Learn HTML Step by step Introduce XML.
SENG 422 Lab 5 An Introduction to XML Time: ELW B220 from (4:00 - 6:50) every Tuesday TA: Philip Baback Alipour Ph.D. Candidate in Electrical, Computer.
1 Creating Web Pages Part 1. 2 OVERVIEW: HTML-What is it? HyperText Markup Language, the authoring language used to create documents on the World Wide.
HTML Basics Let’s Make a Web Page. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a.
HTML/XHTML By Joaquin Vila. What is HTML? HTML stands for HyperText Markup Language. HTML documents are cross-platform compatible and device-independent.
Jennifer Widom XML Data Introduction, Well-formed XML.
Unit 10 Schema Data Processing. Key Concepts XML fundamentals XML document format Document declaration XML elements and attributes Parsing Reserved characters.
HTML Basic. What is HTML HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it.
Introduction to HTML Year 8. What is HTML O Hyper Text Mark-up Language O The language that all the elements of a web page are written in. O It describes.
XML. HTML Before you continue you should have a basic understanding of the following: HTML HTML was designed to display data and to focus on how data.
Dave Salinas. What is XML? XML stands for eXtensible Markup Language Markup language, like HTML HTML was designed to display data, whereas XML was designed.
Creating User Interfaces XML, MathML, ChomeVox. XML eXtended Markup Language Tags and text Tags are singletons and paired. Tags have types and, generally,
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
XML BASICS and more…. What is XML? In common:  XML is a standard, simple, self-describing way of encoding both text and data so that content can be processed.
HTML Structure & syntax
Basic HTML Introduction to HTML.
Pertemuan 1 Desain web Pertemuan 1
Lecture 3 Zablon Ochomo Android Layouts Lecture 3 Zablon Ochomo
Android Introduction Hello World
Introduction to HTML.
Mansoor Ahmed Bughio.
Android Introduction Hello World.
3.00cs HTML Overview 3.00cs Develop webpages.
Web Development & Design Foundations with HTML5 8th Edition
Broadcast Receivers A Android Component where you can register for system or application events, receive and react to broadcast intent. Each broadcast.
XML stands for Extensible Markup Language.
INP150: Basic HTML Instructor: Paul J. Millis
Mobile Computing With Android ACST 4550 XML and the Android GUI
Introduction to HTML 5.
Android Introduction Camera.
Mobile Device Development
The XML Language.
WEBSITE DESIGN Chp 1
XML Data Introduction, Well-formed XML.
3.02D HTML Overview 3.02 Develop webpages.
Many thanks to Jun Bum Lim for his help with this tutorial.
HTML 12/27/2018.
Android Topics Android Activity Lifecycle and Experiment Toast
Javascript & jQuery XML.
What is XML?.
Introduction to HTML5.
Introduction to XML Extensible Markup Language
Introduction to HTML 5.
Web Application Development
Document Structure & HTML
Introduction to XML Extensible Markup Language
Pertemuan 1 Desain web Pertemuan 1
HyperText Markup Language
3.02D HTML Overview 3.02 Develop webpages.
14 XML.
HTML Structure & syntax
4.02A HTML Overview 4.02 Develop web pages using various layouts and technologies. (Note to instructor: HTML tags are in red only to differentiate from.
Lecture 4 Introduction to XML Extensible Markup Language
Presentation transcript:

XML Review @2011 Mihail L. Sichitiu

XML eXtensible Markup Language Simple text (Unicode) underneath Tags (like in HTML) are used to provide information about the data Similar to HTML, but: HTML is used to describe how to display the data XML is used to describe what is the data Often used to store and transfer data @2011 Mihail L. Sichitiu

HTML Example <html> <head><title>Here goes the title</title></head. <body> <h1>This is a header</h1> Here goes the text of the page </body> </html> Tags mean something specific to the browser They are used for display @2011 Mihail L. Sichitiu

XML Example <?xml version=“1.0”/> <person> <name> <first>Jose</first> <last>Barrios</last> </name> <email>jb@ucab.edu</email> <phone 555-456-1234 /> </person> Tags mean whatever the user wants them to mean They are used to describe the data @2011 Mihail L. Sichitiu

XML Rules Tags are enclosed in angle brackets. Tags come in pairs with start-tags and end-tags. Tags must be properly nested. <name><email>…</name></email> is not allowed. <name><email>…</email><name> is. Tags that do not have end-tags must be terminated by a ‘/’. Document has a single root element

XML Documents are Trees person email phone name first last @2011 Mihail L. Sichitiu

Android Manifest Attributes <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.helloandroid" android:versionCode="1" android:versionName="1.0"> <application android:icon="@drawable/icon" android:label="@string/app_name"> <activity android:name=".HelloAndroid" android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest> Attributes @2010 Mihail L. Sichitiu

Questions? @2011 Mihail L. Sichitiu