Internet Technologies1 XLink The Wonderful World of Oz example and its DTD are from “XML in a Nutshell” by Elliotte Rusty Harold.

Slides:



Advertisements
Similar presentations
Copyright © 2003 Pearson Education, Inc. Slide 6-1 Created by Cheryl M. Hughes, Harvard University Extension School Cambridge, MA The Web Wizards Guide.
Advertisements

Applications of XSLT. generating Word documents WordML provides formatting and content elements Word 2003 can read WordML files XSLT can be used to transform.
What is XML? a meta language that allows you to create and format your own document markups a method for putting structured data into a text file; these.
XML: Extensible Markup Language
Internet Technologies1 1 Lecture 4: Programming with XSLT.
Tutorial 9 Working with XHTML
XLink & XPointer ShengWu. Contents Covered XLink –XLink Versus HTML links –Linking Elements –Simple Links –Link Behavior –Extended Links.
Introduction to XLink Transparency No. 1 Introduction to XML Linking Language (XLink) Cheng-Chia Chen.
Processing XML Processing XML using XSLT Processing XML documents with Java (DOM) Next week -- Processing XML documents with Java (SAX)
1 Linking in XML A way of creating hyperlinks in XML documents, Internal-Link and External-Link.
XLink Van Lepthien CSCI 7818 Fall Overview What is XLink? W3C Stuff XLink Elements Linkbases Traversals Implementations Comments References.
A technical introduction Felix Eickhoff XML Basics.
XML Namespaces Andrey Smirnov CSCI 7818 September 21, 2000.
Tutorial 9 Working with XHTML. XP Objectives Describe the history and theory of XHTML Understand the rules for creating valid XHTML documents Apply a.
Internet Technologies XSLT Processing XML using XSLT Using XPath Escaping to Java.
XLINK A mechanism to link xml documents. Fujitsu’s free xlink processor xwand/activity/xbrltools/xlip/index.htmlhttp://software.fujitsu.com/en/interstage-
1 XML Linking Language (XLink) W3C Working Draft - 3/3/1998.
Object Oriented Programming III1 XSLT Processing XML using XSLT Using XPath.
XML Verification Well-formed XML document  conforms to basic XML syntax  contains only built-in character entities Validated XML document  conforms.
Internet Technologies1 XSLT Processing XML using XSLT Using XPath.
Topics The "bigger picture" –The "XML sales pitch" –XML/XHTML vs. SGML/HTML –XML in electronic publishing –XML and the future, web 2.0 XML basics: –Building.
XML TOPIC MAP JUNG J. W.. SNU OOPSLA Lab. contents What ’ s XTM? Why XTM? Element of XTM XTM Conceptual Model DTD Introduction to XTM Syntax.
Copyright © 2003 Pearson Education, Inc. Slide 3-1 Created by Cheryl M. Hughes, Harvard University Extension School — Cambridge, MA The Web Wizard’s Guide.
XML CPSC 315 – Programming Studio Fall 2008 Project 3, Lecture 1.
Xpath Xlink Xpointer Xquery Sources:
Session II Chapter 2 – Chapter 2 – XSLhttp://
Skip 2007 Current Issues in MIS The XML Language Foundation f - Clinton E. White, Jr Professor of Accounting & MIS Lerner College of B&E University.
CS134 Web Design & Development Creating a Basic Web Page Mehmud Abliz.
Introduction to XML. What is XML? Extensible Markup Language XML Easier-to-use subset of SGML (Standard Generalized Markup Language) XML is a.
XML - Why: The HTML-Dilemma HTML, SGML, XML - How: Syntax, Concept, Language Elements Basics Well-formed XML-Documents (without DTD) Valid XML-Documents.
Linking web pages Wah Yan College (Hong Kong) Mr. Li C.P.
Introduction to GAIGS XML Scripting Integrating Algorithm Visualization into Computer Science Education Grand Valley State University June 13-16, 2006.
28 October 2008CIS 340 # 1 Topics To define XML as a technology To place XML in the context of system architectures Online support:
XML A web enabled data description language 4/22/2001 By Mark Lawson & Edward Ryan L’Herault.
1 XML An Overview Roger Debreceny University of Hawai`i Skip White University of Delaware XBRL Workshop, August 2006.
XLinks Praveen Polishetty. Contents : XLink Capabilities XLink Concepts XLink Core Properties XLink Semantic Properties XLink Behavior Properties XLink.
Internet Technologies Review Week 1 How does Jigsaw differ from EchoServer.java? What abstractions are made available to the servlet writer (under.
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.
Internet & World Wide Web How to Program, 5/e. © by Pearson Education, Inc. All Rights Reserved.2.
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 1COMP9321, 15s2, Week.
XML A Language Presentation. Outline 1. Introduction 2. XML 2.1 Background 2.2 Structure 2.3 Advantages 3. Related Technologies 3.1 DTD 3.2 Schemas and.
Applications of XML Oz OceanAtlas Software and NOAA/PMEL.
Unit 3 — Advanced Internet Technologies Lesson 11 — Introduction to XSL.
SNU OOPSLA Lab. Hypertext links(XLL) © copyright 2001 SNU OOPSLA Lab.
Introducing XLink and XPointer ©NIITeXtensible Markup Language/Lesson 10/Slide 1 of 23 Objectives In this lesson, you will learn to: * Identify the types.
What is XLink? XLink is short for XML Linking Language XLink is used to create hyperlinks in XML documents Any element in an XML document can behave as.
XP Tutorial 9New Perspectives on HTML and XHTML, Comprehensive 1 Working with XHTML Creating a Well-Formed Valid Document Tutorial 9.
Interoperability How to Build a Digital Library Ian H. Witten and David Bainbridge.
XML Validation II Advanced DTDs + Schemas Robin Burke ECT 360.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Linking XML Documents Ellen Pearlman Eileen Mullin Programming the Web.
Tutorial 9 Working with XHTML. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Describe the history and theory of XHTML.
XML DOM  XML Document Object Model provides a robust international standard for XML Documents.  DOM Level 1 is a Dec 11, 1998 W3C recommendation.  XML.
 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners,
Tutorial 9 Working with XHTML. XP Objectives Describe the history and theory of XHTML Understand the rules for creating valid XHTML documents Apply a.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 14 This presentation © 2004, MacAvon Media Productions XML.
XML Notes taken from w3schools. What is XML? XML stands for EXtensible Markup Language. XML was designed to store and transport data. XML was designed.
ITSE 1456 – 01 Extensible Markup Language(XML) 1 Ade Buraimoh.
XLink February 20, 2006 Billy Timmins. Learning objectives Learn different techniques of implementing XLink's in XML create a custom XLink learn the functionality.
 2002 Prentice Hall, Inc. All rights reserved. 1 XLink and XPointer Outline 1Introduction 2XML Linking Language (XLink) 2.1 Simple Links 2.2 Extended.
XML Databases Presented By: Pardeep MT15042 Anurag Goel MT15006.
Kynn Bartlett 11 April 2001 STC San Diego The HTML Writers Guild Copyright © 2001 XML, XHTML, XSLT, and other X-named specifications.
Chapter 9 Hypertext. Key Points ► Hypertext is text augmented with links that point to other pieces of text. ► Hypertext has a relatively long history,
XML: Extensible Markup Language
ITSE 1456 – 01 Extensible Markup Language(XML)
CobWeb – A Constraint Based Extension of XML
Chapter Eight Interoperability How to Build a Digital Library
LINKS.
A technical introduction
CSE591: Data Mining by H. Liu
Presentation transcript:

Internet Technologies1 XLink The Wonderful World of Oz example and its DTD are from “XML in a Nutshell” by Elliotte Rusty Harold

Internet Technologies2 XLink XLink is a syntax that allows us to represent directed graphs. The vertices of the graph are documents (or other resources) and the edges are links between them. The vertices can be local or remote. Different applications may interpret the XLinks in a document differently. The programmer determines the meaning of the connection. For example, a web spider will probably treat the link much differently than a web browser or a publishing program.

Internet Technologies3 XLink Simple Links Define a one-way connection between two resources One resource is an xml element and the other is remote This is the only link that looks like the html anchor element Extended Links Define a collection of resources and links between them These may be used to define a directed, labeled graph

Internet Technologies4 Simple Links <novel xmlns:xlink= " xlink:type = "simple" xlink:href = "ftp://archive.org/pub/etext/my.txt"> The Wonderful Wizard of Oz L. Frank Baum 1900 Map some prefix to the xlink URI The xlink prefix is customary but not required.

Internet Technologies5 Simple Links <novel xmlns:xlink= " xlink:type = "simple" xlink:href = "ftp://archive.org/pub/etext/my.txt"> The Wonderful Wizard of Oz L. Frank Baum 1900 The type attribute is required. It has six possible values. The simple type is like HTML’s anchor element.

Internet Technologies6 Simple Links <novel xmlns:xlink= " xlink:type = "simple" xlink:href = "ftp://archive.org/pub/etext/my.txt"> The Wonderful Wizard of Oz L. Frank Baum 1900 The href attribute may be relative or absolute and points to the target resource.

Internet Technologies7 Simple Links <novel xmlns:xlink= " xlink:type = "simple" xlink:href = "ftp://archive.org/pub/etext/my.txt" xlink:actuate=“onRequest” xlink:show=“replace”> The Wonderful Wizard of Oz L. Frank Baum 1900 Many options exist. These are suggestions to the application.

Internet Technologies8 Simple Xlinks and DTD’s The Wonderful Wizard of Oz L. Frank Baum 1900 Some of the syntax can be placed in a DTD. We must define the attributes, the namespace and the type of link.

Internet Technologies9 Simple Xlinks (DTD) <!ATTLIST novel xmlns:xlink CDATA #FIXED " xlink:type (simple) #FIXED 'simple' xlink:href CDATA #REQUIRED>

Internet Technologies10 Extended Links Not like the HTML links of old. More general. Application dependent.

Internet Technologies11 Extended Links Extended links will normally contain the following: Local resources involved in the connections. These have type=“resource” Remote resources involved in the connections. These have type=“locator” Descriptions of the connections. These have type=“arc”

Internet Technologies12 Extended Links Extended links will normally contain the following: Local resources involved in the connections. These have type=“resource”. Give a name to a local element. Remote resources involved in the connections. These have type=“locator”. Give a name to a remote place. Descriptions of the connections. These have type=“arc”. State that a directed edge exists between two of the above.

Internet Technologies13 Extended Links Linear Algebra Linear Algebra II <prerequisite xlink:type=“arc” xlink:from=“LA100” xlink:to=“LA200” /> Linking resources that are part of the document.

Internet Technologies14 Extended Links <course xlink:type=“locator” xlink:label = “LA100” xlink:href=“ Linear Algebra <course xlink:type=“locator” xlink:label = “LA200” xlink:href=“ Linear Algebra II <prerequisite xlink:type=“arc” xlink:from=“LA100” xlink:to=“LA200” /> Linking remote resources.

Internet Technologies15 Third Party Links We can now define links between documents that we don’t control. Using Xlink, we can describe vertices and edges across the internet. If the vertices are XML documents, we can use XPointer (which builds on XPath) to establish links from particular places in remote documents to particular places in other documents, neither of which we control.