انواع شبكه های ارتباطی - cas.mcmaster.camohammh/courses/Internet...

Preview:

Citation preview

Internet Engineer ing

Hamid
My students contributed in creating these lecture notes. I appreciate there efforts but I didn't reviewed them so they are neither guaranteed to be free from errors nor to be complete.Hamid M.Gholizadeh
Hamid

1

Cricut swithed network

Parket swithed

network

poket

voip

(csn)

(delecated)

VOIP

Client

VOIP

Client

Internet

2

(psn)

Sharing

paket

p2pphone 2

phone

3

A nalog digital service

1

2

L A N(Local area network

bus

internet

4

wireless

wirelessbluetoth

(802.11b) wi Fi

W A N(Wide area network

LAN

LAN

WAN

LANWAN

Enterprise Networ k

W A N

1(value added network) van

2(Virtual Private network) vpn

(value added network) van

(Virtual Private network) vpn

5

(internet) 2

vpn

1949ARPA

4

1993internet

6

word wide web

HostHost

(protocol)

7OSI

7

(T CP/IP)

TCP/IP

TCP/IP

TCPIP

pop3 , SMTP , TelNet , HTTP , FTP

UDP , TCP

8

802.x

T CP/IPOSI

Application

Presentation

Session

Transport Transport

Internet Network

Data link

Physical

TCP/IP OSI

9

OSI

OSITCP/IP

OSI

1 2 3

OSI

1

T CP/IP

TCP/IPInterface

UPN

RFC

(Request for comment ) R F C

RFC

R F C

10

1

2 RFC

3 RFC

RFC 2026

4

IP u.6 RFC 1883 Specification

 

(Internet Engineering Task Force) I E T F  

RFC  

w3c

ISO/IEC

RFC

RFC

RFC/1883 IP6.

2

1 206

2

3

11

4

ADSL

12

IP

IP a.b.c.d

4IP

4104)10(422 9333244

IP Address

IP 3

1 A 172.16.a.a

2 B 10.a.a.a

3 C192.168.a.a

127.0.0.1

IP6

IP

4IP

IP6

a : a : a : a :a : a

a2128816 2)2(

IP Address2001.1db.0.0.0.0

13

Internet

IP 6FE80

1128::1/128 0:0:0:0:0:1/128

IP 5(Audio , video )

IP 54

IP

IP

IP

T CP

1- Internet Protocol 2 - Transmission control protocol

54321

1

2

14

IP TCP

TCP

(aknowledge)

T CP

1

15

2

3

4

5

UDP1(User Datagram Protocol)

TCP

aknowledge

TCP

TCP

port

IP

16

portport

21 portFTP

80 portHTTP

port

port

Start run cmd netstate 192.168.1.3 : 5421

IPTablefirwallport

port

port

Netstate -?netstate

IP config IPSubnet mask DNS default

gateway

IP config/renewIP .

F TP1:

Application

FTP

1 - File transfer Protocol

17

(intercept)

FTP

SFTP Secure FTP

FTPUser

namePasswordanony

mous

FTP

FTPcmd

ftp FTP

FTP 192.168.1.101

F TP

1 quitFTP

2 dirlis

3 ccl ( remot directory )

4 get ( file name )FTP Server

5 put (file name )FTP Server

6 closeFTP

7 cd

18

FTP sharing

Connected to 192.168.1.101

220 microsoft ftp service

User < 192.168.1.101<non>>: test

331 password requested for test

Password test

my computer Internet

explorer

ftp:// 192.168.1.101

1 ftp:// 128.0.0.1

2 vmware

SM TP1

(email)

mailserver

SMTP

pop3 mailserver

client

1- simple mail transfer protocol

19

SM TP telnet

25

SMTP.gmail.comtelnet

SMTP

telnet

25SMTP

email

non valid email

F rom

To

C C(Carbon copy)

B C CBCC

(blank CC)

Subject

Bodyemail

RFC 821

20

T el Net

Tel Netremote Hostlogin

remote Host

Tel Netanony mous

loginuser / pass

Tel Net

T el Net

Start >All programs >Accessories >communication >Hyper termiral

EmailSMTP / POP3

POP3

email

emailclient

:IAMP (Internet Message Access Protocol)

POP3

3 - Tele Communication Network protocol

Server posses

Client machine Network request

replay

Server machine

21

http

1.1

1.11

client

httpstate lass

4 - Hyper Text Transfer Protocol

client server

22

client

Clientclienthttp

web browserIENetscapefirefox

HHP

client

Pageclient

Hyper media

Hyper media

Web server

server

client

web server

redirect

23

Web server

1I IS

windowsplat fromopenserver

5 - Internet Information Server

B

ASP Engine

Server

A

JPG

ASP

Client

24

plat from

jakartatamcatlightopen source

IIS.6

I IS

Control pan : | Add or remote programs Add / remove windows

IIS

components

I IS

Control pan :| Administrator tools Internet Information server

2Apache web server

open source

platform

3Jakarta Tomcat

Tomcat 5

https

httpssl

https

https

http

https

25

double click

public kay

Ssl

https

https

ssl

http

http http

ssl ssl

http

http

clienthttp

getpost /

26

getpost

get

server

URLserver

post

httpserver

head:

get

header

client

client

put

option

http

http

http2

1header

27

http

browserIPbrowser

incoding

2body

web browserhttp

server

header

DNS :

Domain

IP

IP

IP

IP

6 - Domain Namirg system

28

yahoo.comyahoo

IP

IP

IP

DNSDomain name server

DNS

IP

DNS

1

5 4

3

2

DNS

IP

http Ip

DNS

DNS DNS

DNS

29

DNS

DNS DNS IP

DNS

IPassign

1

2

30

info mil

gov

biz

orgedu

com

Net

ukfr

jp

irus

ru

ac.ir

domainsub domain

CE. sharif. ac. ir

31

.mil , .com , .net , .org , .inf , .edu , .bit , .guv

UR L

URL

UR L

http : // www. Takfo.ir / DOC / page1. htm

IP127.0.0.1

IIS

http : // 127.0.0.1/

Local Host

URLbrowser

DomainURL

DNS

IPhttp

7 - uniform Resource locator

32

IP

http

URL

html

htmlbrowserhtml

browser

html

URL

web

H T M L

H T M L

<html>

<head>

</title> <title>  

</head> 8 - Hyper Text Markup Language

33

<body>

         

</body>

</html>

html

htmlweb

/tagtagtag

htmltaghtml

tag

tag

tag

tag

tag( tag A ttr ibuts )

taghtml

( name/values )

tag

tag

/tag

34

html

htmlhtml

web

html

<P>

: <DI V>

<B>, <I> , <U>:bold , italic , underline

< BR/>

< H R/>

< T A B L E>

< F O R M >

< A>

< I M G>

<H1> < H6>

html

html

35

< html >  

< head >

< title > table creation < /title >

< /head >

< body >

< table width= ' 300 ' border= ' 1 ' >  

< tr >  

< td > 1 < /td > < td > 2 < /td > < td > 3 < /td >

< /tr >

< tr >

< td > 4 < /td > < td > 5 < /td > < td > 6 < /td > < /tr >

< /table >

< /body >

< /html >  

 

 

< html >

< head >

< title > table creation < /title >

< /head >

< body >

< table width= " 300 " header= " 1 " >

< tr >

< td colspan= " 2 " > 12 < /td > < td > 3 < /td >

3 2 1

6 5 4

3 12

6 5 4

36

< /tr >

< tr >

< td > 4 < /td > < td > 5 < /td > < td > 6 < /td >

< /tr >

< /table >

< /body >

< /html >

< html >

< head >

< title > table creation < /title >

< / head >

< body >

< table width= " 300 " border= " 1 " >

< tr >

< td rowspan= " 2 " > 1 < /td >

< td > 2 < /td > < td > 3 < /td >

< /tr >

< tr >

< td > 4 < /td > < td > 5 < /td >

< / tr >

< /table >

< /body >

< /html >  

3 2 1

5 4

37

tr td

web

< form >

< /from >Method

actionfrom

1Action

Action

2M ethod

GetPost

Action

G et

URLAction

Server{http : //

Domain Name. com/login.asp}?user= Ali & pass=123

Login

login

.

38

< form Action= " http://Domain name.com/login.asp " Method= " Get " >

< ing href = " img/1.jpg " >

< img href = " http ://my

Domain.com/img17.jpg " >

,

< input type = " text " name = " user " >

< input type = " password " name = " pass " >

post

postheader

httpheader

<

name =

value

Root

Form 2

html

Form 3

html

Form 1

html

ASP

img

1.jpg

39

< submit

< button

< password

=

< hidden

name = />true < input radio ,

name =

name = false < inputtype = radio ,

name =

40

false

<option

<Select>

submit

magta = kardani

size = 4 combo box list

>

Kardani Karshenasi

Arshad phd

textarea

41

textarea

</ textarea name>

textarea

</ textarea name>

attach

yahoo

< reset

:

textarea

BROWSER

42

</form>

p1.htmlaction

get

</form>

1client

2server

3

html

43

client

client

client

clientclient

9 - client side web page Delivery

W eb Server

C lient

1

Author writes instructions

2 Client requests page

3 Web server locates instructions file HTML and script are returned to browser

5

6 Browser displays HTML

4

Web browser processes script to create HTML

44

1 HTMLclient

2 client

3 client

4 HTMIclient

browser

5 client

HTMLHTML

6

client

client

client

10 server sied Dynamic page Dlivery

45

1 HTML

2 client

3

4

html

5 client

W eb Server

C lient

1

Author writes instructions

2

Client requests page

3 Web server locates instructions file

HTML stream returned to browser 5

6

Browser processes page

4 Web server processes inst ructions to create HTML

46

6 client

client

html

clientclient

2

2html

client

client

Web server asks script engines to process scripts & generate HTML

W eb Server 1

Author writes page code

2

Client requests page

3 Web server locates page file

HTML stream passed back to server 5

6

Browser processes client side scripts

4

7

47

1 HTML

client

2 client

3

client

4 html

5 client

client

6 client client html

7

client

client

html

48

html

javaVB.net

client

1 java script

2 VB script

3 java Applets java

49

java scr ipt

java script

Net scapelive scriptNet

scape

client sun

java script

client

java script

javasymtax

java

browser

windows unix

java scr ipt

1 client

2 web browser

3 case sensitive

4browser

VB.script Jscript

client

VB.scriptsyntax

jscript

java script

50

VB.scriptJ.E

4 browser

java scr ipt java

1 java

java script script

2 java

java script

3 java

browser

4 java

compile

5 javajava script

syntax

java scr ipt

1

java script

2

51

3 html

html

html

browserweb

4 client

5

load

52

js scr ipt

1995internrt explorer 3

53

java script

java

scr ipt

1web browser J.Efire foxnet scape opera

2text editordream viewer

note padfrontpage

java scr ipt

1 java script 2</script >

<script >

<script language = java script 1.5 >

Document. write ( " < h1> hello world < /h1> " );

< /script >

head

body

java script head

body

body

2java script

js

<script language = src = " my java script file. js "

>< /script >

54

java script

html

myjava script file. js script

head body

3java script

<body>

/>

javascript

java scr ipt

java scriptC

java script

java scr ipt

princitive data types

1number

55

2string

3Boolean

TrueFalse

java scriot

var

'.',,,1416.3var DaveDrnameYX  

1 under score

2

3

4

5

Var K = 1.41

numberjava scriptK

= " book "

K = True

K = 1.74

56

1 + - / * % ++ - -

2 < <= == > >= !=

3

4 += -= *= /= %=

=

A+=4 = A=A+4 A -=4 A=A-4

A*=4 A=A*4 A /=4 A=A/4

4AA%=4

A=A%4

java script

1 ||

2 /**/

57

statements

1p = 1.41+ 2;

2

{ statement 1;

Statement 2; { p = 2 + 1.41;  

K = p + 4;  

S = " Ali ";

Statement n } }

java script

3 if / elseif ( name ==

" Ali " ) {

M = " you are Ali " ;

Flag = True; }

else { M =

" you are not Ali ";

statement flag = false; }

else

58

4whilewhile ( flag ==

True ) {

whilewhile

5for

For ( i = 1 ; i<= 100 ; i++ ) {

Sum = 55sum + = 1

59

1) var colors = [ " red " , " green " , " blue " ];

2) var colors = new array ( );

33) var colors = new

array ( s );

1var colors = new array ( "red" ,

"green" , "blue" );

java script

cjava1

6with

With ( document . my form ) {

with}

document . my form result . valuemyinput . value

• With ( document . my form ) { Result . value = cumpute ( myinput.value )

}

• Document . myform . result value = Compute ( document. Myform.myinput.value);

60

Fanction

returned

: Function Add ( var a1 , var a2 ) {

C

= a1+a2;

return C; }

Function Show ( var msg ) {

Document . write ( msg ); }  

AddK = Add (

A , B)

<scr ipt> function show() {

}

send

11 -Function

Click me

61

id

id

javascript

D O M

12. Document object model

62

DOM

windows

windows

DOM

web

WindowsBrowser

History history

window

history history

document

link Anchor

Form

text

radio

checkbox

textarea

password

button

reset

submit

option

select

63

Document

Link ,Anchor

Anchor

Form

window

browser

;window . close ()

< input onclick = window . close () value = " close " / >

1) window. history

historyBrowser

.back

2) window.document

html

browser

3) window. location  

browser

< input onclick = " window.location "

value=yahoo location="http://www.yahoo.com " / >

form. form . image

.window . document . link

htmldocument

DOM

64

window . document . form . text box

text box

text box

htmlDOM

Window . document . form . text 1 . value = " Ali " ;

text1

html browser

client

value

form

clientsubmit

events

html

onclick

13. events

65

java Script

java Script

onBlur focus

Bottom

< input onblur = " window.close() " value = "close ">

close

close

<a> , <area> , <button> , <input> , <lable> , <select> , <textarea> ,

<apple> , <div>

Onchange

<input> , <select> , <textarea>

On focusfocus

onblur

<a> , <area> , <button> , <input>

Onloadload

On Mouse over

<apple> , <font> , < ilayer> , < layer>

On Mouse out

<apple> , <font> , < ilayer> , < layer>

66

On Mouse up:

<apple> , <font>

On Mouse move:

<apple> , <font>

On key down

On key press

On submit

<form>

On ResetReset

On selectList

<input> , <textarea>

On Unloadload

on load

<body> , <frameset>

CSS

html

html

CSS

14 - cascading Style sheet

67

CSShtml

1stylehtml

tagtagCSSstyle

tag

2CSSstyle

classhtml

< style >

. text 1 :{

Color : read ;

Font : Tahoma {

< /style >

/tagtagtext 1class

tag

3CSS

html

CSS

classhtml

68

host

host

(asighn)

port

port

server

1objectserver socket

Server socket listen socket = new

Server socket (server port )

Dim listen socket as server socket = new

Server socket ( server port )

2

15 - socket programming 16  

69

While (true) {

Socket client socket = listen socket. accept ();

listen socket

7777client socket

 

3

thread

thread

thread

threadthread

Receiver r = new receiver ( client socket ) r. run ( );

Thread

thread

Server socket listen socket = new server socket ( server port )

7777

While ( true )

3

70

Socket client socket = listen socket. accept ( );

Receiver r = new receiver ( client socket ) r. run ( );

thread

thread

thread

thread

runrun20thread

rea3

rea2

rea1

71

java Scr ipt

1Alert

2prompt

text book C = prompt ("Enter your name")

3confirm

TrueFalse

") Ok True K = confirm = ("

OK

OK

Cancel

OK Cancel

?

72

Cancle False

ASP

ASPclient

ASP

client

ASPhtm

htmlasp

aspvb.

Script

17. Active Server Page

Server

ASP

Client

Web Browser

ASP

73

vb.Script

vb.Script

asp

C++

COMasp

asp

asp

12script

<% = <script language = " VB.Script " runat = "server ">

VB.Scriptasp

%>=</script>

2<% %>

%>asp<%

<%

%>

3

74

%>

asp<%=

< input type = " text " value + "<% = email %> "/>

<input type = " text " value = "ali @ yahoo.com"/>

asp

phphtml

asp

asp

1Request

2Respons

3Application

4Session

5Server

Request

object

75

client

object

Respons

objectclient

client

asp

clientclient

HTTP

<%

%>

http://www.w3schools.com

<%

Response.Cookies ( firstname

76

%>

firstname

alexmay 10.2008

3 Applicationobject

object

asp

object(global)

</script>

Global visit count is <% = b %>

Application ( " name ") Ali

4Session

session

http

client

client

77

session

session

Session

client

session

Session T ime out

clientsession

client

clientsession

Object Sessionsession

sessionsession

78

</script>

Your visit count is <% Session

clientsession

client Applicationyahoo

log out session

log in

time outsession

log in

79

Cooky

clientClient

(browser)

Count2 =4

Count =82

Count =6 Count =36

Count =1

application

session

session session

session

client

client

client

client

80

session

client

IE Tools Internet option General

log in

session

asp.netobjectrequest

client

object responseclient

request . cookies

response .

cookies

object request

FormGuary string

object request

Method: get query string post form

< Form Method = post / get >

81

!method = postform

!method = getquery

string

5Server

transfer

objectasp

pass pass

----- )%>

else

end if

A D O

ASP

ADOADO

ADOASPObject

82

ASP

Object

ASPSQLObject

commandObject

command

connectcommand

!parameter , Object

SQLObjectcommand

Record set

ObjectRecord setADO

ASP

1 web serverASP

web server IIS

18. Internet Information Server

83

200098ASP

PWS

2 Not pad

ASP

Dreamweaver

!ASP.asp

IIS web server

PHP( Personal Home Page)

PHP

PHPopensource

5

PHP

Unix

linux

(syntax) PHP

(syntax) PHPC

PHP

PHP

. PHP3. PHP . PHtml

19. Microsoft personal web server

84

<?php <?

php

php

?> ?>

<?

//this is php demo

?>

PHP

PHP

PHP

<? Php

?>

<?php

85

?>

Ali hassani is student

PHP

notand

or

if/else

if

E lse

{

else

if

}

86

for

For ($i =1 ; $i <= 10 ; $i++ )

{

for

$_G E T

get

$_POST

post

$_R E Q U ESTget

post

$name = $_ post ame

$fname = $_ post fname

$tel = $_ post tel

87

.N E T

2001

.net

windows

Operating System + Hardware

.NET Framework

.NET Application

88

.N E T

C L

.net

.net

( MSI L )C L

cl

.net

20. Common Language

C#.N E T V B .N E T C++.N E T Pascal.N E T

C I L (MSI L)

Native code

89

.Net dll

cldll

.Net

VB

Base Class Library

.netB C L

.NET

BCL

.NETNET

BCL

21. Base class library

90

XML

C#

.Net

.Net

1

2 .NetBase

Class Library.Net

3 VS .Net

4 asp.Net

.Net

1

.Net

open source

91

2 .Net

.Net

.NETMicrosoft.NET

1porto Gle .NET.GNU

opensource

CIL

linux

2Mono project

novel

.NET

.NET

asp.NET , ado.NET

C#.NET , VB.NET

ASP.Net

.Net

asp

ASP.NetASP

.Net

ASP.Net

92

.NET

VB script , jscriptASP

asp.Netasp

1

asp

asp.Net

2

asp.Net.Net .Net

Framwork

asp.Net

3

asp.NetVS .Net

4

asp.Net

,Data Grid

5asp.Net

asp

93

6asp.Net

A D O .Net

asp.Net

.Net

VS .Net

IDE

.NetVS.Net

VC# ,VC++, VB

VS.Net asp asp.Net )

VS .Net

ADO.Net

Debuge

ASP VS .Net

Debuge

trace

22. Visual Studio .Net 23. Intgreated Develaent Envirment

94

.Net

Object Oriented .Net

C#

A D O .Net A D O

1 ADO.Net XML

XML

2 disconnected

Load

3 ADO.Net

ADO

4 .Net

95

BBaassee CCllaassss LLiibbrraarryy

CCoommmmoonn LLaanngguuaaggee SSppeecciiffiiccaattiioonn

CCoommmmoonn LLaanngguuaaggee RRuunnttiimmee

AADDOO..NNEETT:: DDaattaa aanndd XXMMLL

VVBB VVCC++++ VVCC##

VV ii ss uu aa ll SS tt uu dd ii oo .. NN EE TT

AASSPP..NNEETT:: WWeebb SSeerrvviicceess aanndd WWeebb FFoorrmmss

JJSSccrriipptt

WWiinnddoowwss FFoorrmmss

96

AAsssseemmbbllyy

SSoouurrccee

CCooddee

LLaanngguuaaggee

CCoommppiilleerr

CCoommppiillaattiioonn

AAtt iinnssttaallllaattiioonn oorr tthhee ffiirrsstt ttiimmee eeaacchh mmeetthhoodd iiss

ccaalllleedd EExxeeccuuttiioonn

JJIITT CCoommppiillee

rr

NNaattiivvee CCooddee

CCooddee ((IILL))

MMeettaaddaattaa

97

Code in VB.NET Code in C# Code in another .NET Language

VB.NET compiler C# compiler Appropriate Compiler

IL(Intermediate Language) code

CLR just-in-time execution

98

Host

Host

1 WSDL

XML

WSDL

2 SOAP

XML

Server , Client

24. web service description language 25. Simple object access protocol

99

3 UDDI

Host

UDDI

J2E E

J2EE

J2EE

J2EE

Sun microsystem

26. Unniversal Discription Discovery Integretion 27. java 2 Enterprice Eddition

100

J2EE

java

SunJ2EE

java EE

java2

java2

javaSun 1999

1 J2SE

desktop

2 J2ME

java

PDAS

3 J2EE

28. Java 2 Standard Eddition 29. Java 2 Micro Eddition 30. Java 2 Enterprise Eddition

101

Client

J2E E

J2EE

1 Servlets and JSP

2 EJB

3 JDBC

J2EE

4 JMS

J2EE

5 Java Mail

Email

31. java server pages 32. Enterprise Java Beans 33. Java Data Base Connectivity 34. Java Message Service

102

servlet

ServletSun

servlet,jsp

Servlet / Jsp container

servlet,jsp

servlet,jsp

jsp ,servlet

Apache Tomcat

servlet

1 JDK

JDK

java

java

java.sun.com

.Net Framwork .Net

2 servlet / jsp

103

Apache Tomcat

3 jsp

jDeveloper , j Builder

servlet

4 jsp

web container

web container

client

Servlet

Servletjava

http servlet

http

do Post , do Getservlet

html

jsp

jspjava

htmljsp

104

asp

jspjava

web

container

jsp

ASPjsp

1 requestasp

2 responseresponseasp

3 sessionsessionasp

4 pageobject

jsp

5 Out

Client

jsp:

1

<body>

<%

105

For ( int I =1 ; i<= 5 ; i++ )

{

String k = string . value of (i) ;

}

%>

</body>

2

jsp

3<% code %> sessionglobal

<html>

<body>

<% =name %>

</body>

</html>

java

java

J2EE

J2EEjava

106

jsp

java

java

java

byte code

MSIL .Net

jVM

JA V A

35. java Virtual Machin

java

Byte code

Native code

107

Javascr ipt

1 Javascript

2

Javascript

client

3 Javascript

sun

NetspaceSUN

JBuilderBorland

Jdeveloper oracle

36. Free Platform

108

EclipseOpensource

Intellij IDEAIBM

.N E Tj2E E

1j2java

.NET

VBC++C#J#

Pascal

2j2EE

.NETMSIL

3j2EEjvm

.NETCTR

MSIL

4j2EE

.NET

5j2EEJDK

.NET.NET frame work

6j2EE

37. Common Langvage Runtime 38. Microsoft intemodiate langvage 39. java Development Kit

109

j2EE

IDE

JBuilderBorlandj Developeroracle

j2EE

.NET

Visual studio .N E T

7j2EE

jsp.NET

ASP.NET

8j2EEjDBC

.NET

ADO.NET

9.NET

IIS

j2EE

Apachi tamcatWeb sphere

10.NETj2EE

JSF

40. Integrated development Enviroment 41. Java Data Base Commenctivity 42. Internet information server

110

ASP

jsp

JSF

JSPservlet

ASP

JSFASP.NET

Applet

Appletclient

Applet

111

Applet

<body>

d <applet

<param

<param

<param

</applet>

</body>

javaEE .NET

java C# / vb / c++ /

Delphi / ...

/ Python /

Php / perl / c

Jsp / servlet / jsfAsp.net / asp Perl /CGI / php/

coldfusion

Applet /

javascript(sun)

Vbscript

(Microsoft.co)

Vbscript ,

javascript

112

client

Netbeans /

jbuilder /

jdeveloper /

elips /

inteljideas

Vb.net Eclips

113

X M L

X M L

sgmlXML

sgml

XML

W3c.org1998

X M L

exten sible mark up langvage

sgml

sgmlXML

XML

HTML

X M L

1XML

43. Standard genrallzed Mark up langvage 44. word wide web consortium.org

114

2XML

3XML

XML

4XML

X M L

XML

XML

1web servise

2

3

4

5html

1IP

2(URL) Domain

115

X M L

XML

1

XMLhtml

<book> </book>

XMLtagXML

2

Element

XML

<element attribute = "value">

=>

html

<img="pic.jpg"/>

X M L

1XML

45. Element 46. Attribute

116

-

2 XML

3tag

tag

4

<img="pic.jpg"/>

tag

5XMLwell-Formed

well-Formed

tagXML

tag

tagtag

tagtag

6

7

8XML

117

9XML

&lt < less than

&gt > greater than

&amp & ampersand

XHTMLHTML

XML

10XML

<!--

Comments

-->

X M L

XML

XML

XML

DTDDocument Tpe Dfine

118

XSDXml Schema Defination

X M L

XML

1 XSLXSLTXSL-FO

XML

2 XPath

XML

3 XQuery

XML

4 XPointer

XML

5 SVG

XML

flash

6 SMIL

XML

XFormsXML

Recommended