XML&Soap - CS 580 Client-Server Programming Spring...

Info iconThis preview shows pages 1–12. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 580 Client-Server Programming Spring Semester, 2010 29 Apr 2009 Copyright ©, All rights reserved. 2010 SDSU & Roger Whitney, 5500 Campanile Drive, San Diego, CA 92182-7700 USA. OpenContent ( http:// www.opencontent.org/opl.shtml ) license defines the copyright on this document.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Computers changed how to produce 2 Books Manuals Forms Presentations
Background image of page 2
How to represent a document? 3 Imbed commands or tags in the text What should the commands do? Format output <bold><center>See the cat run</center></bold> Structure the document <ChapterHeader>See the cat run</ChapterHeader>
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
<header>Short History of Tags</header> 4 GenCode L a t e 1 9 6 0 s Used descriptive content tags (commands) Generalized Markup Language (GML) Developed by IBM Standard Generalized Markup Language (SGML) 1983 ANSI Standard System for developing tags for documents Used to create books, manuals, forms, etc Widely used by IBM, IRS, DOD etc. Not well known in computer industry
Background image of page 4
HTML 5 Markup language for WWW 1991 - first mention by Tim Berners-Lee Wide spread use Fixed set of tags Some tags are presentational <CENTER> <B> Web Browsers permit poorly formed HTML <A NAME="WhichOne"></a> <b><center>Hello World</b></CENTER><Br> <A NAME="WhichOne"></A> These problems with HTML restrict Web functionality
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
XML 6 XML creators wanted Flexibility of SGML Simplicity of HTML 1998 - Version 1.0 of XML Key differences from HTML Presentation is separate from document description Error Checking Unambiguous Structure Uses Share Structured Data Encode documents Serialize data
Background image of page 6
XML is about 7 Document structure Describing data <?xml version="1.0" ?> <CATALOG> <CD> <TITLE>Empire Burlesque</TITLE> <ARTIST>Bob Dylan</ARTIST> <COUNTRY>USA</COUNTRY> <COMPANY>Columbia</COMPANY> <PRICE>10.90</PRICE> <YEAR>1985</YEAR> </CD> <CD> <TITLE>Hide your heart</TITLE> <ARTIST>Bonnie Tyler</ARTIST> <COUNTRY>UK</COUNTRY> <COMPANY>CBS Records</COMPANY> <PRICE>9.90</PRICE> <YEAR>1988</YEAR> </CD> </CATALOG>
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
XML Syntax 8 <!-- A simple XML document with comment --> <greetings> Hello World! </greetings>
Background image of page 8
9 <GREETINGS> <greetings> <Greetings> Tag Case Sensitive <slide title="XML Slide" author="cat"> <slide title="Who's on First"> <name position='First'> Tag with Attribute
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
XML Terminology 10 <greetings>Hello World!</greetings> <name> <firstName>John</firstName> <lastName>Fowler</lastName> </name> Element Nested Elements Markup Tags and comments Content Anything that is not markup Document XML structure in which one or more elements contains text intermixed with subelements
Background image of page 10
11 <greetings> <from> <nnammee> <firstName>Roger</firstName> <lastName>Whitney</lastName> </nnammee> </from> <to> <name> <firstName>John</firstName> <lastName>Fowler</lastName> </name> </to> <message> How are you? </message>
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 12
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/16/2011 for the course CS 580 taught by Professor Rogerwhitney during the Spring '11 term at Community college of RI.

Page1 / 52

XML&amp;amp;Soap - CS 580 Client-Server Programming Spring...

This preview shows document pages 1 - 12. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online