Presentation is loading. Please wait.

Presentation is loading. Please wait.

XLink February 20, 2006 Billy Timmins. Learning objectives Learn different techniques of implementing XLink's in XML create a custom XLink learn the functionality.

Similar presentations


Presentation on theme: "XLink February 20, 2006 Billy Timmins. Learning objectives Learn different techniques of implementing XLink's in XML create a custom XLink learn the functionality."— Presentation transcript:

1 XLink February 20, 2006 Billy Timmins

2 Learning objectives Learn different techniques of implementing XLink's in XML create a custom XLink learn the functionality behind various XLink parameters

3 What is an XLink? XLinks create a linking relationship between two or more resources. They allow for any XML element, image, text or markup files to be specified in the link. Achieved through the use of Uniform Resource Identifiers (URI’s)

4 Why use XLinks? XLinks allow a document's hyperlinks to be isolated and centralized in a separate document An XLink may be unidirectional or bidirectional.

5 Unidirectional vs. Bidirectional

6 XLink Decleration The use of XLink requires the declaration of the XLink namespace located at http://www.w3.org/1999/xlink/ http://www.w3.org/1999/xlink/ The following example would make the prefix xlink available within the tourguide element.

7 XLink Global Attributes <person xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href=“http://www.terry.uga.edu/~rwatson/” xlink:show=“replace“ xlink:actuate=“onRequest"> Rick Watson

8 Example Download the zip file from the following link: XLink Example Open NetBeans and load files contained within xlink.zip

9 Summary XLink is an extremely versatile specification that standardizes the process for linking to other data sources XLink supports unidirectional linking similar to the a anchor tag in HTML but also can be used to create bidirectional links. XLink allows for the linkage from any XML element.

10 Homework Modify the one-to-one homework to include XLink’s to the websites of the restaurants listed for each city


Download ppt "XLink February 20, 2006 Billy Timmins. Learning objectives Learn different techniques of implementing XLink's in XML create a custom XLink learn the functionality."

Similar presentations


Ads by Google