1. Trang chủ
  2. » Công Nghệ Thông Tin

Review Java Socket Programming

8 315 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề XML Review
Tác giả Mihail L. Sichitiu
Năm xuất bản 2011
Định dạng
Số trang 8
Dung lượng 524 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Java Socket Programming

Trang 1

XML Review

Trang 2

information about the data

 HTML is used to describe how to display the

data

 XML is used to describe what is the data

@2011 Mihail L Sichitiu 2

Trang 3

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

Trang 4

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>

@2011 Mihail L Sichitiu 4

• Tags mean whatever the user wants them to mean

• They are used

to describe the data

Trang 5

XML Rules

end-tags.

<name><email>…</name></email> is not

allowed.

<name><email>…</email><name> is.

terminated by a ‘/’.

Trang 6

XML Documents are Trees

@2011 Mihail L Sichitiu 6

person

name email phone

first last

Trang 7

Android Manifest

<?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

Trang 8

@2011 Mihail L Sichitiu 8

Ngày đăng: 20/11/2013, 21:17

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN