SlideShare ist ein Scribd-Unternehmen logo
1 von 33
Stein Markup 1.1 
MMaarrkkuupp 
LLaanngguuaaggeess 
SSGG 
WW 
MMLL 
VVOOXX 
XX 
HHTT 
Yaakov J. Stein 
Chief Scientist 
DDSS 
RAD Data Communications 
SSS A 
legal-X 
CP 
DDHHTT 
GG 
mmaatthh 
C
I digest, edit and produce documents 
Stein Markup 1.2 
WWhhaatt ddoo II ddoo?? 
 business letters 
 email 
 meeting summaries 
 proposals 
 reports 
 requirement specifications 
 project plans 
 web pages 
 research articles 
 review articles 
 books
Stein Markup 1.3 
WWhhaatt ddoo ootthheerrss ddoo?? 
Pretty much the same 
US corporations produce >100 billion documents per year 
90% of a modern institution’s information is in documents 
>50% of typical corporation’s efforts involves documents 
That’s why word processing SW 
was expected to bring efficiency increases 
But didn’t!
Stein Markup 1.4 
WWoorrdd pprroocceessssiinngg?? 
PROs 
 makes nicer looking documents 
 expedites document sharing during creation 
CONs 
 typically 30% of effort on format and reformat 
 doesn’t increase information accessibility 
 doesn’t facilitate information mining
Stein Markup 1.5 
DDaattaabbaasseess?? 
The natural alternative to documents are databases 
PROs 
 increase information accessibility 
 facilitate information mining 
CONs 
 not human readable 
 format inflexible
Stein Markup 1.6 
TThhee ssoolluuttiioonn 
What we really want is to write unconstrained text 
but to have information retrieval as well ! 
 Method 1 Automatic text analysis 
AI program analyzes text 
Recognizes document structure, sentence syntax 
Performs gisting, facilitates information mining 
Complete solution equivalent to solving Turing test 
 Method 2 Manual markup 
Document author responsible for marking 
Clarifies document structure 
Enables automated retrieval of selected information 
Suggests presentation format
Stein Markup 1.7 
WWhhyy iiss tteexxtt aannaallyyssiiss hhaarrdd?? 
The man cried FIRE ! 
The man cried FIRE the gun ! 
The man cried FIRE the gun maker !
AArree MMLLss ccoommppuutteerr llaanngguuaaggeess?? 
There are many different types of computer languages: 
procedural languages 
Stein Markup 1.8 
for (n=0;n<10;i++) 
if (n>5) printf(“markup languages are fun!n”); 
graphic languages 
newpath 
0 0 moveto 0 1 lineto 1 1 lineto 1 0 lineto 
closepath fill 
database languages 
SELECT book FROM biblio WHERE subject=‘DSP’ AND author=‘STEIN’ ; 
logical languages 
useful(DSP), useful(hardware), fun(DSP), fun(web) 
interesting(X) if useful(X) and fun(X) 
?-interesting(X)
Stein Markup 1.9 
TThheeyy aarree!! 
Markup languages do not directly instruct computers 
like procedural languages 
rather indirectly instruct computer 
like logical languages 
They do this by using: 
elements 
attributes 
entities 
text 
<BOOK SUBJECT=“dsp”> 
<TITLE FORMAT=“short”>DSP-CSP</TITLE> 
<AUTHOR>J. Stein</AUTHOR> 
This is a great book! 
&standard-disclaimer 
</BOOK> 
}(tags)
SSoommee mmaarrkkuupp eelleemmeenntt ffuunnccttiioonnss 
 Structural 
Stein Markup 1.10 
– Clarifies document structure 
– Delineates document parts 
 Descriptive (informative) 
– Indicates 
– Facilitates information retrieval 
 Presentational (display) 
– Presents information in nice format 
– Helps human readability 
 Referential (links, applications) 
– Provide hypertext links 
– Launch applications
Stein Markup 1.11 
SSttrruuccttuurraall MMaarrkkuupp 
<HEADING>September 1, 2000</HEADING> 
<GREETING>Dear Prof. Stein, </GREETING> 
<BODY> 
I would like to tell you how much I enjoyed reading your new text 
“Digital Signal Processing, A Computer Science Perspective”. 
I hope we will be able to meet at the next conference. 
</BODY> 
<SIGNATURE> 
Sincerely, 
Dee Espy 
</SIGNATURE>
Stein Markup 1.12 
DDeessccrriippttiivvee MMaarrkkuupp 
<DATE>September 1, 2000</DATE> 
Dear <PERSON>Prof. Stein,</PERSON> 
I would like to tell you how much I enjoyed reading your new text 
<BOOK> 
“Digital Signal Processing, A Computer Science Perspective”. 
</BOOK> 
I hope we will be able to meet at the next <EVENT>conference.</EVENT> 
Sincerely, 
<PERSON>Dee Espy</PERSON>
Stein Markup 1.13 
PPrreesseennttaattiioonnaall MMaarrkkuupp 
<RIGHT-JUSTIFY>September 1, 2000</RIGHT-JUSTIFY> 
<BOLD>Dear Prof. Stein,</BOLD> 
I would like to tell you how much I enjoyed reading your new text 
<UNDERLINE> 
“Digital Signal Processing, A Computer Science Perspective”. 
</UNDERLINE> 
I hope we will be able to meet at the next 
<BLINK>conference.</BLINK> 
Sincerely, 
<IMAGE SRC=“deesignature.jpg” ALIGN=“left”> 
<FONT FACE=“Times-Roman”>Dee Espy</FONT>
Stein Markup 1.14 
RReellaattiioonnaall MMaarrkkuupp 
<today xlink:form=“simple” href=“date” actuate=“auto”> 
Dear Prof. Stein, 
I would like to tell you how much I enjoyed reading your new text 
<A HREF=“www.amazon.com/exec/obidos/ASIN/04712954”> 
“Digital Signal Processing, A Computer Science Perspective”. 
</A> 
I hope we will be able to meet at the next 
<A HREF=“conference”>conference.</A> 
Sincerely, 
<IMAGE SRC=“dee-signature.jpg” ALIGN=“left”> 
<A HREF=“mailto:dee@dee-epsy.net”>Dee Espy</A>
GGeenneerraalliizzeedd MMaarrkkuupp LLaanngguuaaggee 
Stein Markup 1.15 
 William Tunnicliffe, Stanley Rice [1960s] 
(independently) invent idea of structural markup language 
Problem: need different ML for each type of document 
(letter, report, article, book, etc) 
 Charles Goldfarb, Edward Mosher, Raymond Lorie (IBM) [1973] 
invent Generalized Markup Language (GML) 
Solution: use metalanguage 
Document Type Definition (DTD) defines tags 
IBM marked up 90% of its documents with GML
WWiitthh GGMMLL ssttrruuccttuurree iiss eevviiddeenntt 
Stein Markup 1.16 
Library 
Novels 
Journals 
Textbooks 
Algebraic zoology 
Botanical history 
Computer poetry 
DSP 
DSP-CSP 
DSP just for fun 
Elementary QED 
Title 
Full: Digital Signal Processing 
a Computer Science Perspective 
Short: DSPCSP 
Author 
Name: Jonathan (Y) Stein 
Association: RAD Data Comm. 
Publication 
Publisher: John Wiley 
Year: 2000 
Location: New York 
ISBN: 04712954
SSttaannddaarrdd GGeenneerraalliizzeedd MMaarrkkuupp LLaanngguuaaggee 
Problems with GML: 
Stein Markup 1.17 
– No validating parser 
– Not portable (between computer systems) 
Solution: 
SGML 
ANSI [1978] 
ISO/IEC 8879 [1986] (Intl Org for Standardization / Intl Electrotechnical Commission) 
JTC1/SC34/WG1 (WG 1 of SubCommittee 34 of Joint Technical Committee 1) 
For presentation: 
Document Style Semantics and Specification Language
Stein Markup 1.18 
SSGGMMLL -- ccoonntt.. 
If SGML is so good why doesn’t anyone use it ? 
 Complexity 
– base standard >500 pages 
– SGML is a metalanguage 
– writing DTD is complex programming 
– marked up text is hard to read 
– DSSSL adds to complexity 
 Inflexibility - requires absolute conformity 
– assumes only one correct way to markup 
– constrains author to dictated structure 
– not good at capturing author’s structure
HHyyppeerrTTeexxtt MMaarrkkuupp LLaanngguuaaggee 
CERN (particle physics institute in Switzerland) was an early Internet adopter 
 Used extensively for collaboration (articles have long author lists) 
 Major problems with format incompatibility 
Stein Markup 1.19 
– only straight ASCII worked reliably 
Tim Berners-Lee (computer specialist) defined requirements 
 simplicity (couldn’t expect physicists to use SGML) 
 freedom (didn’t need validation, let browser ignore bad markup) 
 needed hypertext links (including to documents over Internet) 
 presentational markup (papers must look nice - authors used to TEX) 
Solution: HTML - a specific application of SGML (not metalanguage)
Stein Markup 1.20 
HHTTMMLL vveerrssiioonnss 
HTML 1.0 (1989) Berners-Lee original CERN version 
hypertext, images, head+body structure, presentational markup 
HTML 2.0 (1994) IETF standard - RFC 1866 
added lists, forms, etc. 
HTML 3.2 (1997) W3C recommendation (incorporates Netscape extensions) 
added tables, applets, super/sub-scripts 
HTML 4.0 (1997) W3C recommendation (and similar ISO/IEC 15445) 
minimizes presentational markup 
XHTML 1.0 (2000) present W3C recommendation 
reformulates HTML in XML
HHTTMMLL ddooccuummeenntt ssttrruuccttuurree 
Stein Markup 1.21 
<HTML> 
<HEAD> 
global definitions such as 
<TITLE>Web page title</TITLE> 
</HEAD> 
<BODY> 
marked-up text 
</BODY> 
</HTML>
SSoommee HHTTMMLL ((bbooddyy)) eelleemmeennttss 
 <H1>Level 1 Heading</H1> Level 1 Heading 
 <H2>Level 2 Heading</H2> Level 2 Heading 
 <H3>Level 3 Heading</H3> Level 3 Heading 
 <EM> emphasized </EM> emphasized 
 <P> Paragraph </P> Paragraph 
 <A HREF=url>link</A> link 
 <UL> 
Stein Markup 1.22 
<LI> item 1 </LI> .item 1 
<LI> item 2 </LI> . item 2 
</UL> 
 <OL> 
<LI> item 1 </LI> 1 item 1 
<LI> item 2 </LI> 2 item 2 
</OL> 
 <IMG SRC=url>
Stein Markup 1.23 
PPrroobblleemmss wwiitthh HHTTMMLL 
Presentational aspects have predominated 
<B> bold text </B> 
<BLINK> blinking text </BLINK> 
<FONT COLOR=“red”> red text </FONT> 
Practically no descriptive markup 
Search engines are reduced to flat text search 
Search by topic only through keywords or portals 
Not extensible 
Can’t add new tags 
Unknown tags ignored 
Links are relatively simple 
Usually user action is required (except IMG) 
Only full document (with offset) linkable 
Link management is logistic nightmare
Stein Markup 1.24 
NNoott eevveerryytthhiinngg iiss HHTTMMLL 
Due to HTML limitations other tools are also used: 
 Multimedia extensions 
– (dynamic) gif, jpg, … 
– streaming audio 
 Common Gateway Interface 
– generate HTML on-the-fly 
– Perl, C, … 
 Server Push - Server Pull 
 Javascript 
 Java
eeXXtteennssiibbllee MMaarrkkuupp LLaanngguuaaggee 
 Simplified (best parts of) SGML (subset of features) 
 Flexible content management tool 
 W3C recommendation(s) 
 Extensible - can add new elements (even without DTD) 
 Easy to create special purpose languages (with DTD/SCHEMA) 
 Includes HTML-like hypertext links 
Stein Markup 1.25 
– and extensions (XLINK, XPOINTER) 
 The future of the web !
Stein Markup 1.26 
XXMMLL -- aann EExxaammppllee 
<?xml version="1.0" standalone="yes"?> 
<bibliography> 
<book isbn=04712954> 
<title>Digital Signal Processing: a Computer Science Perspective</title> 
<author>Jonathan (Y) Stein</author> 
<publisher>John Wiley and Sons</publisher> 
</book> 
<article> 
<title>False Alarm Reduction for ASR and OCR</title> 
<author>Yaakov Stein</author> 
<proceedings>Tenth AICVNN Symposium</proceedings> 
<pages>195-200</pages> 
</article> 
... 
</bibliography>
??WWhhaatt ccaann wwee ddoo wwiitthh aann XXMMLL ffiillee 
 Check if well-formed 
 Check if valid (against DTD or schema) 
 Display “as-is” in browser 
 Parse in special-purpose program (SAX, DOM) 
 Process (XSL) to XML, HTML, etc. 
 Display after processing 
Stein Markup 1.27
WWiirreelleessss MMaarrkkuupp LLaanngguuaaggee 
Markup language element of Wireless Application Protocol 
WAP forum (1997) 
– Ericsson, Motorola, Nokia, Unwired Planet (phone.com) 
– bring Internet to cellular phone users 
– re-use fundamental Internet concepts (TCP/IP, http, html, javascript) 
Stein Markup 1.28 
but adapted to lower bandwidth 
smaller screen 
limited input facilities 
limited computational resources 
– applications scale across transport options (GSM, TDMA, CDMA, 3G) 
and device types (mobile phones, personal assistants)
Stein Markup 1.29 
WWMMLL PPhhiilloossoopphhyy 
Defined using XML 
Transported in compressed binary (for BW reduction) 
Applications are modeled as decks of cards 
Features: 
Actions (OK, navigation, help) can be performed 
Hyperlinks (like in HTML) 
String variables 
Timers 
wbmp images (B&W) 
Select boxes, forms (for input) 
wmlscript (like javascript)
Stein Markup 1.30 
WWMMLL ssttrruuccttuurree 
< ? xml version=“1.0” ? > 
<!DOCTYPE wml …> 
<wml> 
<card> 
<p> 
text 
</p> 
<p> 
text 
</p> 
</card> 
.<.c.ard> 
</card> 
</wml>
Stein Markup 1.31 
SSoommee WWMMLL eelleemmeennttss 
 <p> </p> text 
 <a href=...> </a> hyperlink (anchor) 
 <do> </do> action 
 <go href=.../> goto wml page 
 <timer> trigger event (units = tenths of a second) 
 <input/> input user text 
 <prev/> return to previous page 
 $(…) value of variable 
 <img src=… /> display image 
 <postfield name=… value=…/> set variable 
 <select > <option> <option> </select> select box
SSoommee mmoorree mmaarrkkuupp llaanngguuaaggeess 
Stein Markup 1.32 
 VML = Vector (graphics) Markup Language 
 VoiceXML 
 SSML = Speech Synthesis Markup Language 
 CPML = Call Policy Markup Language 
 DSML = Directory Services Markup Language 
 MathML = Mathematical Markup Language 
 CML = Chemical Markup Language 
 AML = Astronomical Markup Language 
 LegalXML 
 BSML = Bioinformatic Sequence Markup Language 
 GedML = Genealogical Data Markup Language 
 FinXML = Financial market Markup Language 
 ChessML 
 SDML = Signed Document Markup Language 
 RELML = Real Estate Listing Markup Language 
 etc. etc. etc. ...
Stein Markup 1.33 
EExxaammpplleess 
 HTML 
– html examples 
 XML 
– xml-file xsl-file xml 
 VML 
–vml-file 
 WML (get M3gate emulator) 
– wml examples

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

LINKING IN HTML
LINKING IN HTMLLINKING IN HTML
LINKING IN HTML
 
HTML and XML Difference FAQs
HTML and XML Difference FAQsHTML and XML Difference FAQs
HTML and XML Difference FAQs
 
Html images syntax
Html images syntaxHtml images syntax
Html images syntax
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
 
HTML Tags
HTML TagsHTML Tags
HTML Tags
 
Microsoft word basics ppt
Microsoft word basics pptMicrosoft word basics ppt
Microsoft word basics ppt
 
Html
HtmlHtml
Html
 
HTML Start Up - Introduction to HTML
HTML Start Up - Introduction to HTMLHTML Start Up - Introduction to HTML
HTML Start Up - Introduction to HTML
 
Hyperlinks in HTML
Hyperlinks in HTMLHyperlinks in HTML
Hyperlinks in HTML
 
Web development using HTML and CSS
Web development using HTML and CSSWeb development using HTML and CSS
Web development using HTML and CSS
 
Static and Dynamic webpage
Static and Dynamic webpageStatic and Dynamic webpage
Static and Dynamic webpage
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Intro to HTML and CSS basics
Intro to HTML and CSS basicsIntro to HTML and CSS basics
Intro to HTML and CSS basics
 
Anchor tag HTML Presentation
Anchor tag HTML PresentationAnchor tag HTML Presentation
Anchor tag HTML Presentation
 
BasicHTML
BasicHTMLBasicHTML
BasicHTML
 
Html ppt
Html pptHtml ppt
Html ppt
 
Html
HtmlHtml
Html
 
Web Site Design Principles
Web Site Design PrinciplesWeb Site Design Principles
Web Site Design Principles
 
Basic html tags
Basic html tagsBasic html tags
Basic html tags
 
Working of search engine
Working of search engineWorking of search engine
Working of search engine
 

Andere mochten auch

Markup language classification, designing static and dynamic
Markup language classification, designing static and dynamicMarkup language classification, designing static and dynamic
Markup language classification, designing static and dynamicAnkita Bhalla
 
Mark-up languages
Mark-up languagesMark-up languages
Mark-up languagesSukh Sandhu
 
Extensible Markup Language (XML)
Extensible Markup Language (XML)Extensible Markup Language (XML)
Extensible Markup Language (XML)AakankshaR
 
S60 Web Runtime - Web2.0 Expo Europe 2008
S60 Web Runtime - Web2.0 Expo Europe 2008S60 Web Runtime - Web2.0 Expo Europe 2008
S60 Web Runtime - Web2.0 Expo Europe 2008petrosoininen
 
WebSphere Message Broker In Shared Runtime Environments
WebSphere Message Broker In Shared Runtime EnvironmentsWebSphere Message Broker In Shared Runtime Environments
WebSphere Message Broker In Shared Runtime EnvironmentsMårten Gustafson
 
Web Issues
Web IssuesWeb Issues
Web Issuestterrill
 
Website design and devlopment
Website design and devlopmentWebsite design and devlopment
Website design and devlopmentPX Media
 
Intro to Front-End Web Devlopment
Intro to Front-End Web DevlopmentIntro to Front-End Web Devlopment
Intro to Front-End Web Devlopmentdamonras
 
Struts2 course chapter 1: Evolution of Web Applications
Struts2 course chapter 1: Evolution of Web ApplicationsStruts2 course chapter 1: Evolution of Web Applications
Struts2 course chapter 1: Evolution of Web ApplicationsJavaEE Trainers
 
The Evolution of the Web
The Evolution of the WebThe Evolution of the Web
The Evolution of the WebCJ Gammon
 
How To Use Blogs, Twitter And Facebook To Grow Your Business
How To Use Blogs, Twitter And Facebook To Grow Your BusinessHow To Use Blogs, Twitter And Facebook To Grow Your Business
How To Use Blogs, Twitter And Facebook To Grow Your BusinessHM Revenue & Customs
 
Chapter17 system implementation
Chapter17 system implementationChapter17 system implementation
Chapter17 system implementationDhani Ahmad
 

Andere mochten auch (20)

Markup language classification, designing static and dynamic
Markup language classification, designing static and dynamicMarkup language classification, designing static and dynamic
Markup language classification, designing static and dynamic
 
Markup Languages
Markup LanguagesMarkup Languages
Markup Languages
 
Mark-up languages
Mark-up languagesMark-up languages
Mark-up languages
 
Extensible Markup Language (XML)
Extensible Markup Language (XML)Extensible Markup Language (XML)
Extensible Markup Language (XML)
 
Sgml
SgmlSgml
Sgml
 
Hyper Text Markup Language
Hyper Text Markup LanguageHyper Text Markup Language
Hyper Text Markup Language
 
XML
XMLXML
XML
 
Web Functionality
Web FunctionalityWeb Functionality
Web Functionality
 
S60 Web Runtime - Web2.0 Expo Europe 2008
S60 Web Runtime - Web2.0 Expo Europe 2008S60 Web Runtime - Web2.0 Expo Europe 2008
S60 Web Runtime - Web2.0 Expo Europe 2008
 
WebSphere Message Broker In Shared Runtime Environments
WebSphere Message Broker In Shared Runtime EnvironmentsWebSphere Message Broker In Shared Runtime Environments
WebSphere Message Broker In Shared Runtime Environments
 
Html5 Basic Structure
Html5 Basic StructureHtml5 Basic Structure
Html5 Basic Structure
 
Sgml and xml
Sgml and xmlSgml and xml
Sgml and xml
 
Web Issues
Web IssuesWeb Issues
Web Issues
 
Website design and devlopment
Website design and devlopmentWebsite design and devlopment
Website design and devlopment
 
Intro to Front-End Web Devlopment
Intro to Front-End Web DevlopmentIntro to Front-End Web Devlopment
Intro to Front-End Web Devlopment
 
Class2
Class2Class2
Class2
 
Struts2 course chapter 1: Evolution of Web Applications
Struts2 course chapter 1: Evolution of Web ApplicationsStruts2 course chapter 1: Evolution of Web Applications
Struts2 course chapter 1: Evolution of Web Applications
 
The Evolution of the Web
The Evolution of the WebThe Evolution of the Web
The Evolution of the Web
 
How To Use Blogs, Twitter And Facebook To Grow Your Business
How To Use Blogs, Twitter And Facebook To Grow Your BusinessHow To Use Blogs, Twitter And Facebook To Grow Your Business
How To Use Blogs, Twitter And Facebook To Grow Your Business
 
Chapter17 system implementation
Chapter17 system implementationChapter17 system implementation
Chapter17 system implementation
 

Ähnlich wie Markup Languages

The need of Interoperability in Office and GIS formats
The need of Interoperability in Office and GIS formatsThe need of Interoperability in Office and GIS formats
The need of Interoperability in Office and GIS formatsMarkus Neteler
 
Fundamentals of computer system and Programming EC-105
Fundamentals of computer system and Programming EC-105Fundamentals of computer system and Programming EC-105
Fundamentals of computer system and Programming EC-105NUST Stuff
 
Information Retrieval, Encoding, Indexing, Big Table. Lecture 6 - Indexing
Information Retrieval, Encoding, Indexing, Big Table. Lecture 6  - IndexingInformation Retrieval, Encoding, Indexing, Big Table. Lecture 6  - Indexing
Information Retrieval, Encoding, Indexing, Big Table. Lecture 6 - IndexingSean Golliher
 
Basics of Research Data Management
Basics of Research Data ManagementBasics of Research Data Management
Basics of Research Data ManagementOpenAIRE
 
DSL in test automation
DSL in test automationDSL in test automation
DSL in test automationtest test
 
The Nature of Information
The Nature of InformationThe Nature of Information
The Nature of InformationAdrian Paschke
 
MongoDB at the Silicon Valley iPhone and iPad Developers' Meetup
MongoDB at the Silicon Valley iPhone and iPad Developers' MeetupMongoDB at the Silicon Valley iPhone and iPad Developers' Meetup
MongoDB at the Silicon Valley iPhone and iPad Developers' MeetupMongoDB
 
GATE, HLT and Machine Learning, Sheffield, July 2003
GATE, HLT and Machine Learning, Sheffield, July 2003GATE, HLT and Machine Learning, Sheffield, July 2003
GATE, HLT and Machine Learning, Sheffield, July 2003butest
 
Getty Vocabulary Program LOD: Ontologies and Semantic Representation
Getty Vocabulary Program LOD: Ontologies and Semantic RepresentationGetty Vocabulary Program LOD: Ontologies and Semantic Representation
Getty Vocabulary Program LOD: Ontologies and Semantic RepresentationVladimir Alexiev, PhD, PMP
 
NLP Tasks and Applications.ppt useful in
NLP Tasks and Applications.ppt useful inNLP Tasks and Applications.ppt useful in
NLP Tasks and Applications.ppt useful inKumari Naveen
 
lect36-tasks.ppt
lect36-tasks.pptlect36-tasks.ppt
lect36-tasks.pptHaHa501620
 
Decoding and developing the online finding aid
Decoding and developing the online finding aidDecoding and developing the online finding aid
Decoding and developing the online finding aidkgerber
 
Yahoo Making The Web Searchable
Yahoo  Making The  Web  SearchableYahoo  Making The  Web  Searchable
Yahoo Making The Web Searchablekksst
 

Ähnlich wie Markup Languages (20)

CSE509 Lecture 4
CSE509 Lecture 4CSE509 Lecture 4
CSE509 Lecture 4
 
The need of Interoperability in Office and GIS formats
The need of Interoperability in Office and GIS formatsThe need of Interoperability in Office and GIS formats
The need of Interoperability in Office and GIS formats
 
NLP@DATEV: Setting up a domain specific language model, Dr. Jonas Rende & Tho...
NLP@DATEV: Setting up a domain specific language model, Dr. Jonas Rende & Tho...NLP@DATEV: Setting up a domain specific language model, Dr. Jonas Rende & Tho...
NLP@DATEV: Setting up a domain specific language model, Dr. Jonas Rende & Tho...
 
Sweo talk
Sweo talkSweo talk
Sweo talk
 
Fundamentals of computer system and Programming EC-105
Fundamentals of computer system and Programming EC-105Fundamentals of computer system and Programming EC-105
Fundamentals of computer system and Programming EC-105
 
Information Retrieval, Encoding, Indexing, Big Table. Lecture 6 - Indexing
Information Retrieval, Encoding, Indexing, Big Table. Lecture 6  - IndexingInformation Retrieval, Encoding, Indexing, Big Table. Lecture 6  - Indexing
Information Retrieval, Encoding, Indexing, Big Table. Lecture 6 - Indexing
 
Scaling the (evolving) web data –at low cost-
Scaling the (evolving) web data –at low cost-Scaling the (evolving) web data –at low cost-
Scaling the (evolving) web data –at low cost-
 
Basics of Research Data Management
Basics of Research Data ManagementBasics of Research Data Management
Basics of Research Data Management
 
93 peter butterfield
93 peter butterfield93 peter butterfield
93 peter butterfield
 
DSL in test automation
DSL in test automationDSL in test automation
DSL in test automation
 
The Nature of Information
The Nature of InformationThe Nature of Information
The Nature of Information
 
MongoDB at the Silicon Valley iPhone and iPad Developers' Meetup
MongoDB at the Silicon Valley iPhone and iPad Developers' MeetupMongoDB at the Silicon Valley iPhone and iPad Developers' Meetup
MongoDB at the Silicon Valley iPhone and iPad Developers' Meetup
 
GATE, HLT and Machine Learning, Sheffield, July 2003
GATE, HLT and Machine Learning, Sheffield, July 2003GATE, HLT and Machine Learning, Sheffield, July 2003
GATE, HLT and Machine Learning, Sheffield, July 2003
 
Getty Vocabulary Program LOD: Ontologies and Semantic Representation
Getty Vocabulary Program LOD: Ontologies and Semantic RepresentationGetty Vocabulary Program LOD: Ontologies and Semantic Representation
Getty Vocabulary Program LOD: Ontologies and Semantic Representation
 
Markup For Dummies (Russ Ward)
Markup For Dummies (Russ Ward)Markup For Dummies (Russ Ward)
Markup For Dummies (Russ Ward)
 
NLP Tasks and Applications.ppt useful in
NLP Tasks and Applications.ppt useful inNLP Tasks and Applications.ppt useful in
NLP Tasks and Applications.ppt useful in
 
lect36-tasks.ppt
lect36-tasks.pptlect36-tasks.ppt
lect36-tasks.ppt
 
Web technology Unit-II Part A
Web technology Unit-II Part AWeb technology Unit-II Part A
Web technology Unit-II Part A
 
Decoding and developing the online finding aid
Decoding and developing the online finding aidDecoding and developing the online finding aid
Decoding and developing the online finding aid
 
Yahoo Making The Web Searchable
Yahoo  Making The  Web  SearchableYahoo  Making The  Web  Searchable
Yahoo Making The Web Searchable
 

Mehr von Senthil Kanth

Wireless Communication and Networking by WilliamStallings Chap2
Wireless Communication and Networking  by WilliamStallings Chap2Wireless Communication and Networking  by WilliamStallings Chap2
Wireless Communication and Networking by WilliamStallings Chap2Senthil Kanth
 
wireless communication and networking Chapter 1
wireless communication and networking Chapter 1wireless communication and networking Chapter 1
wireless communication and networking Chapter 1Senthil Kanth
 
WML Script by Shanti katta
WML Script by Shanti kattaWML Script by Shanti katta
WML Script by Shanti kattaSenthil Kanth
 
WAP- Wireless Application Protocol
WAP- Wireless Application ProtocolWAP- Wireless Application Protocol
WAP- Wireless Application ProtocolSenthil Kanth
 
Introduction to Mobile Application Development
Introduction to Mobile Application DevelopmentIntroduction to Mobile Application Development
Introduction to Mobile Application DevelopmentSenthil Kanth
 
MOBILE APPs DEVELOPMENT PLATFORMS
MOBILE APPs DEVELOPMENT PLATFORMSMOBILE APPs DEVELOPMENT PLATFORMS
MOBILE APPs DEVELOPMENT PLATFORMSSenthil Kanth
 
Introduction to wireless application protocol (wap)ogi
Introduction to wireless application protocol (wap)ogiIntroduction to wireless application protocol (wap)ogi
Introduction to wireless application protocol (wap)ogiSenthil Kanth
 
XML Programming WML by Dickson K.W. Chiu PhD, SMIEEE
XML Programming WML by Dickson K.W. Chiu PhD, SMIEEEXML Programming WML by Dickson K.W. Chiu PhD, SMIEEE
XML Programming WML by Dickson K.W. Chiu PhD, SMIEEESenthil Kanth
 
Wireless Application Protocol WAP by Alvinen
Wireless Application Protocol WAP by AlvinenWireless Application Protocol WAP by Alvinen
Wireless Application Protocol WAP by AlvinenSenthil Kanth
 
HR QUESTIONS, INTERVIEW QUESTIONS
HR QUESTIONS, INTERVIEW QUESTIONSHR QUESTIONS, INTERVIEW QUESTIONS
HR QUESTIONS, INTERVIEW QUESTIONSSenthil Kanth
 
STOCK APPLICATION USING CORBA
STOCK APPLICATION USING CORBASTOCK APPLICATION USING CORBA
STOCK APPLICATION USING CORBASenthil Kanth
 
Zone Routing Protocol (ZRP)
Zone Routing Protocol (ZRP)Zone Routing Protocol (ZRP)
Zone Routing Protocol (ZRP)Senthil Kanth
 
On-Demand Multicast Routing Protocol
On-Demand Multicast Routing ProtocolOn-Demand Multicast Routing Protocol
On-Demand Multicast Routing ProtocolSenthil Kanth
 
Adhoc routing protocols
Adhoc routing protocolsAdhoc routing protocols
Adhoc routing protocolsSenthil Kanth
 
16.Distributed System Structure
16.Distributed System Structure16.Distributed System Structure
16.Distributed System StructureSenthil Kanth
 

Mehr von Senthil Kanth (20)

Wireless Communication and Networking by WilliamStallings Chap2
Wireless Communication and Networking  by WilliamStallings Chap2Wireless Communication and Networking  by WilliamStallings Chap2
Wireless Communication and Networking by WilliamStallings Chap2
 
wireless communication and networking Chapter 1
wireless communication and networking Chapter 1wireless communication and networking Chapter 1
wireless communication and networking Chapter 1
 
WML Script by Shanti katta
WML Script by Shanti kattaWML Script by Shanti katta
WML Script by Shanti katta
 
WAP- Wireless Application Protocol
WAP- Wireless Application ProtocolWAP- Wireless Application Protocol
WAP- Wireless Application Protocol
 
What is WAP?
What is WAP?What is WAP?
What is WAP?
 
Introduction to Mobile Application Development
Introduction to Mobile Application DevelopmentIntroduction to Mobile Application Development
Introduction to Mobile Application Development
 
MOBILE APPs DEVELOPMENT PLATFORMS
MOBILE APPs DEVELOPMENT PLATFORMSMOBILE APPs DEVELOPMENT PLATFORMS
MOBILE APPs DEVELOPMENT PLATFORMS
 
Introduction to wireless application protocol (wap)ogi
Introduction to wireless application protocol (wap)ogiIntroduction to wireless application protocol (wap)ogi
Introduction to wireless application protocol (wap)ogi
 
XML Programming WML by Dickson K.W. Chiu PhD, SMIEEE
XML Programming WML by Dickson K.W. Chiu PhD, SMIEEEXML Programming WML by Dickson K.W. Chiu PhD, SMIEEE
XML Programming WML by Dickson K.W. Chiu PhD, SMIEEE
 
Wireless Application Protocol WAP by Alvinen
Wireless Application Protocol WAP by AlvinenWireless Application Protocol WAP by Alvinen
Wireless Application Protocol WAP by Alvinen
 
HR QUESTIONS, INTERVIEW QUESTIONS
HR QUESTIONS, INTERVIEW QUESTIONSHR QUESTIONS, INTERVIEW QUESTIONS
HR QUESTIONS, INTERVIEW QUESTIONS
 
HR QUESTIONS
HR QUESTIONSHR QUESTIONS
HR QUESTIONS
 
STOCK APPLICATION USING CORBA
STOCK APPLICATION USING CORBASTOCK APPLICATION USING CORBA
STOCK APPLICATION USING CORBA
 
RSA alogrithm
RSA alogrithmRSA alogrithm
RSA alogrithm
 
Zone Routing Protocol (ZRP)
Zone Routing Protocol (ZRP)Zone Routing Protocol (ZRP)
Zone Routing Protocol (ZRP)
 
On-Demand Multicast Routing Protocol
On-Demand Multicast Routing ProtocolOn-Demand Multicast Routing Protocol
On-Demand Multicast Routing Protocol
 
Adhoc routing protocols
Adhoc routing protocolsAdhoc routing protocols
Adhoc routing protocols
 
DSDV VS AODV
DSDV VS AODV DSDV VS AODV
DSDV VS AODV
 
16.Distributed System Structure
16.Distributed System Structure16.Distributed System Structure
16.Distributed System Structure
 
15.Security
15.Security15.Security
15.Security
 

Kürzlich hochgeladen

BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 

Kürzlich hochgeladen (20)

BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 

Markup Languages

  • 1. Stein Markup 1.1 MMaarrkkuupp LLaanngguuaaggeess SSGG WW MMLL VVOOXX XX HHTT Yaakov J. Stein Chief Scientist DDSS RAD Data Communications SSS A legal-X CP DDHHTT GG mmaatthh C
  • 2. I digest, edit and produce documents Stein Markup 1.2 WWhhaatt ddoo II ddoo??  business letters  email  meeting summaries  proposals  reports  requirement specifications  project plans  web pages  research articles  review articles  books
  • 3. Stein Markup 1.3 WWhhaatt ddoo ootthheerrss ddoo?? Pretty much the same US corporations produce >100 billion documents per year 90% of a modern institution’s information is in documents >50% of typical corporation’s efforts involves documents That’s why word processing SW was expected to bring efficiency increases But didn’t!
  • 4. Stein Markup 1.4 WWoorrdd pprroocceessssiinngg?? PROs  makes nicer looking documents  expedites document sharing during creation CONs  typically 30% of effort on format and reformat  doesn’t increase information accessibility  doesn’t facilitate information mining
  • 5. Stein Markup 1.5 DDaattaabbaasseess?? The natural alternative to documents are databases PROs  increase information accessibility  facilitate information mining CONs  not human readable  format inflexible
  • 6. Stein Markup 1.6 TThhee ssoolluuttiioonn What we really want is to write unconstrained text but to have information retrieval as well !  Method 1 Automatic text analysis AI program analyzes text Recognizes document structure, sentence syntax Performs gisting, facilitates information mining Complete solution equivalent to solving Turing test  Method 2 Manual markup Document author responsible for marking Clarifies document structure Enables automated retrieval of selected information Suggests presentation format
  • 7. Stein Markup 1.7 WWhhyy iiss tteexxtt aannaallyyssiiss hhaarrdd?? The man cried FIRE ! The man cried FIRE the gun ! The man cried FIRE the gun maker !
  • 8. AArree MMLLss ccoommppuutteerr llaanngguuaaggeess?? There are many different types of computer languages: procedural languages Stein Markup 1.8 for (n=0;n<10;i++) if (n>5) printf(“markup languages are fun!n”); graphic languages newpath 0 0 moveto 0 1 lineto 1 1 lineto 1 0 lineto closepath fill database languages SELECT book FROM biblio WHERE subject=‘DSP’ AND author=‘STEIN’ ; logical languages useful(DSP), useful(hardware), fun(DSP), fun(web) interesting(X) if useful(X) and fun(X) ?-interesting(X)
  • 9. Stein Markup 1.9 TThheeyy aarree!! Markup languages do not directly instruct computers like procedural languages rather indirectly instruct computer like logical languages They do this by using: elements attributes entities text <BOOK SUBJECT=“dsp”> <TITLE FORMAT=“short”>DSP-CSP</TITLE> <AUTHOR>J. Stein</AUTHOR> This is a great book! &standard-disclaimer </BOOK> }(tags)
  • 10. SSoommee mmaarrkkuupp eelleemmeenntt ffuunnccttiioonnss  Structural Stein Markup 1.10 – Clarifies document structure – Delineates document parts  Descriptive (informative) – Indicates – Facilitates information retrieval  Presentational (display) – Presents information in nice format – Helps human readability  Referential (links, applications) – Provide hypertext links – Launch applications
  • 11. Stein Markup 1.11 SSttrruuccttuurraall MMaarrkkuupp <HEADING>September 1, 2000</HEADING> <GREETING>Dear Prof. Stein, </GREETING> <BODY> I would like to tell you how much I enjoyed reading your new text “Digital Signal Processing, A Computer Science Perspective”. I hope we will be able to meet at the next conference. </BODY> <SIGNATURE> Sincerely, Dee Espy </SIGNATURE>
  • 12. Stein Markup 1.12 DDeessccrriippttiivvee MMaarrkkuupp <DATE>September 1, 2000</DATE> Dear <PERSON>Prof. Stein,</PERSON> I would like to tell you how much I enjoyed reading your new text <BOOK> “Digital Signal Processing, A Computer Science Perspective”. </BOOK> I hope we will be able to meet at the next <EVENT>conference.</EVENT> Sincerely, <PERSON>Dee Espy</PERSON>
  • 13. Stein Markup 1.13 PPrreesseennttaattiioonnaall MMaarrkkuupp <RIGHT-JUSTIFY>September 1, 2000</RIGHT-JUSTIFY> <BOLD>Dear Prof. Stein,</BOLD> I would like to tell you how much I enjoyed reading your new text <UNDERLINE> “Digital Signal Processing, A Computer Science Perspective”. </UNDERLINE> I hope we will be able to meet at the next <BLINK>conference.</BLINK> Sincerely, <IMAGE SRC=“deesignature.jpg” ALIGN=“left”> <FONT FACE=“Times-Roman”>Dee Espy</FONT>
  • 14. Stein Markup 1.14 RReellaattiioonnaall MMaarrkkuupp <today xlink:form=“simple” href=“date” actuate=“auto”> Dear Prof. Stein, I would like to tell you how much I enjoyed reading your new text <A HREF=“www.amazon.com/exec/obidos/ASIN/04712954”> “Digital Signal Processing, A Computer Science Perspective”. </A> I hope we will be able to meet at the next <A HREF=“conference”>conference.</A> Sincerely, <IMAGE SRC=“dee-signature.jpg” ALIGN=“left”> <A HREF=“mailto:dee@dee-epsy.net”>Dee Espy</A>
  • 15. GGeenneerraalliizzeedd MMaarrkkuupp LLaanngguuaaggee Stein Markup 1.15  William Tunnicliffe, Stanley Rice [1960s] (independently) invent idea of structural markup language Problem: need different ML for each type of document (letter, report, article, book, etc)  Charles Goldfarb, Edward Mosher, Raymond Lorie (IBM) [1973] invent Generalized Markup Language (GML) Solution: use metalanguage Document Type Definition (DTD) defines tags IBM marked up 90% of its documents with GML
  • 16. WWiitthh GGMMLL ssttrruuccttuurree iiss eevviiddeenntt Stein Markup 1.16 Library Novels Journals Textbooks Algebraic zoology Botanical history Computer poetry DSP DSP-CSP DSP just for fun Elementary QED Title Full: Digital Signal Processing a Computer Science Perspective Short: DSPCSP Author Name: Jonathan (Y) Stein Association: RAD Data Comm. Publication Publisher: John Wiley Year: 2000 Location: New York ISBN: 04712954
  • 17. SSttaannddaarrdd GGeenneerraalliizzeedd MMaarrkkuupp LLaanngguuaaggee Problems with GML: Stein Markup 1.17 – No validating parser – Not portable (between computer systems) Solution: SGML ANSI [1978] ISO/IEC 8879 [1986] (Intl Org for Standardization / Intl Electrotechnical Commission) JTC1/SC34/WG1 (WG 1 of SubCommittee 34 of Joint Technical Committee 1) For presentation: Document Style Semantics and Specification Language
  • 18. Stein Markup 1.18 SSGGMMLL -- ccoonntt.. If SGML is so good why doesn’t anyone use it ?  Complexity – base standard >500 pages – SGML is a metalanguage – writing DTD is complex programming – marked up text is hard to read – DSSSL adds to complexity  Inflexibility - requires absolute conformity – assumes only one correct way to markup – constrains author to dictated structure – not good at capturing author’s structure
  • 19. HHyyppeerrTTeexxtt MMaarrkkuupp LLaanngguuaaggee CERN (particle physics institute in Switzerland) was an early Internet adopter  Used extensively for collaboration (articles have long author lists)  Major problems with format incompatibility Stein Markup 1.19 – only straight ASCII worked reliably Tim Berners-Lee (computer specialist) defined requirements  simplicity (couldn’t expect physicists to use SGML)  freedom (didn’t need validation, let browser ignore bad markup)  needed hypertext links (including to documents over Internet)  presentational markup (papers must look nice - authors used to TEX) Solution: HTML - a specific application of SGML (not metalanguage)
  • 20. Stein Markup 1.20 HHTTMMLL vveerrssiioonnss HTML 1.0 (1989) Berners-Lee original CERN version hypertext, images, head+body structure, presentational markup HTML 2.0 (1994) IETF standard - RFC 1866 added lists, forms, etc. HTML 3.2 (1997) W3C recommendation (incorporates Netscape extensions) added tables, applets, super/sub-scripts HTML 4.0 (1997) W3C recommendation (and similar ISO/IEC 15445) minimizes presentational markup XHTML 1.0 (2000) present W3C recommendation reformulates HTML in XML
  • 21. HHTTMMLL ddooccuummeenntt ssttrruuccttuurree Stein Markup 1.21 <HTML> <HEAD> global definitions such as <TITLE>Web page title</TITLE> </HEAD> <BODY> marked-up text </BODY> </HTML>
  • 22. SSoommee HHTTMMLL ((bbooddyy)) eelleemmeennttss  <H1>Level 1 Heading</H1> Level 1 Heading  <H2>Level 2 Heading</H2> Level 2 Heading  <H3>Level 3 Heading</H3> Level 3 Heading  <EM> emphasized </EM> emphasized  <P> Paragraph </P> Paragraph  <A HREF=url>link</A> link  <UL> Stein Markup 1.22 <LI> item 1 </LI> .item 1 <LI> item 2 </LI> . item 2 </UL>  <OL> <LI> item 1 </LI> 1 item 1 <LI> item 2 </LI> 2 item 2 </OL>  <IMG SRC=url>
  • 23. Stein Markup 1.23 PPrroobblleemmss wwiitthh HHTTMMLL Presentational aspects have predominated <B> bold text </B> <BLINK> blinking text </BLINK> <FONT COLOR=“red”> red text </FONT> Practically no descriptive markup Search engines are reduced to flat text search Search by topic only through keywords or portals Not extensible Can’t add new tags Unknown tags ignored Links are relatively simple Usually user action is required (except IMG) Only full document (with offset) linkable Link management is logistic nightmare
  • 24. Stein Markup 1.24 NNoott eevveerryytthhiinngg iiss HHTTMMLL Due to HTML limitations other tools are also used:  Multimedia extensions – (dynamic) gif, jpg, … – streaming audio  Common Gateway Interface – generate HTML on-the-fly – Perl, C, …  Server Push - Server Pull  Javascript  Java
  • 25. eeXXtteennssiibbllee MMaarrkkuupp LLaanngguuaaggee  Simplified (best parts of) SGML (subset of features)  Flexible content management tool  W3C recommendation(s)  Extensible - can add new elements (even without DTD)  Easy to create special purpose languages (with DTD/SCHEMA)  Includes HTML-like hypertext links Stein Markup 1.25 – and extensions (XLINK, XPOINTER)  The future of the web !
  • 26. Stein Markup 1.26 XXMMLL -- aann EExxaammppllee <?xml version="1.0" standalone="yes"?> <bibliography> <book isbn=04712954> <title>Digital Signal Processing: a Computer Science Perspective</title> <author>Jonathan (Y) Stein</author> <publisher>John Wiley and Sons</publisher> </book> <article> <title>False Alarm Reduction for ASR and OCR</title> <author>Yaakov Stein</author> <proceedings>Tenth AICVNN Symposium</proceedings> <pages>195-200</pages> </article> ... </bibliography>
  • 27. ??WWhhaatt ccaann wwee ddoo wwiitthh aann XXMMLL ffiillee  Check if well-formed  Check if valid (against DTD or schema)  Display “as-is” in browser  Parse in special-purpose program (SAX, DOM)  Process (XSL) to XML, HTML, etc.  Display after processing Stein Markup 1.27
  • 28. WWiirreelleessss MMaarrkkuupp LLaanngguuaaggee Markup language element of Wireless Application Protocol WAP forum (1997) – Ericsson, Motorola, Nokia, Unwired Planet (phone.com) – bring Internet to cellular phone users – re-use fundamental Internet concepts (TCP/IP, http, html, javascript) Stein Markup 1.28 but adapted to lower bandwidth smaller screen limited input facilities limited computational resources – applications scale across transport options (GSM, TDMA, CDMA, 3G) and device types (mobile phones, personal assistants)
  • 29. Stein Markup 1.29 WWMMLL PPhhiilloossoopphhyy Defined using XML Transported in compressed binary (for BW reduction) Applications are modeled as decks of cards Features: Actions (OK, navigation, help) can be performed Hyperlinks (like in HTML) String variables Timers wbmp images (B&W) Select boxes, forms (for input) wmlscript (like javascript)
  • 30. Stein Markup 1.30 WWMMLL ssttrruuccttuurree < ? xml version=“1.0” ? > <!DOCTYPE wml …> <wml> <card> <p> text </p> <p> text </p> </card> .<.c.ard> </card> </wml>
  • 31. Stein Markup 1.31 SSoommee WWMMLL eelleemmeennttss  <p> </p> text  <a href=...> </a> hyperlink (anchor)  <do> </do> action  <go href=.../> goto wml page  <timer> trigger event (units = tenths of a second)  <input/> input user text  <prev/> return to previous page  $(…) value of variable  <img src=… /> display image  <postfield name=… value=…/> set variable  <select > <option> <option> </select> select box
  • 32. SSoommee mmoorree mmaarrkkuupp llaanngguuaaggeess Stein Markup 1.32  VML = Vector (graphics) Markup Language  VoiceXML  SSML = Speech Synthesis Markup Language  CPML = Call Policy Markup Language  DSML = Directory Services Markup Language  MathML = Mathematical Markup Language  CML = Chemical Markup Language  AML = Astronomical Markup Language  LegalXML  BSML = Bioinformatic Sequence Markup Language  GedML = Genealogical Data Markup Language  FinXML = Financial market Markup Language  ChessML  SDML = Signed Document Markup Language  RELML = Real Estate Listing Markup Language  etc. etc. etc. ...
  • 33. Stein Markup 1.33 EExxaammpplleess  HTML – html examples  XML – xml-file xsl-file xml  VML –vml-file  WML (get M3gate emulator) – wml examples