26-Sep-11 CS6795 Semantic Web Techniques 0 XML Namespaces.

Slides:



Advertisements
Similar presentations
22-Sep-06 CS6795 Semantic Web Techniques 0 Extensible Markup Language.
Advertisements

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.
Chapter 3: XML Namespaces. Chapter 3 Objectives Why you need namespaces What namespaces are, conceptually and how they solve the problem of naming clashes.
17 Apr 2002 XML Namespaces Andy Clark. The Problem Documents use different vocabularies – Example 1: CD music collection – Example 2: online order transaction.
XML Namespaces Each schema file associated with a URL to uniquely identify where elements come from – Like packages in Java
An Introduction to Semantic Web Portal
XML: Styling and Transformation Dr Andy Evans. Multiple views Nice thing is that this data can be styled in lots of different ways using stylesheets.
XML Namespaces Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
An Introduction to XML Based on the W3C XML Recommendations.
The Semantic Web. The Web Today Designed for Human to read Cannot express meaning Architecture: URL –Decentralized: Link structure Language: html.
XML Name spaces. Different people may invent similar tag names Here is an XML element describing a piece of furniture: table99 dining table Here.
WSDL Homework - Plenio. WSDL - Structure Source: w3schools.com.
XML e X tensible M arkup L anguage 1/23.
Introduction to XLink Transparency No. 1 XML Information Set W3C Recommendation 24 October 2001 (1stEdition) 4 February 2004 (2ndEdition) Cheng-Chia Chen.
More XML namespaces, DTDs CS 431 – February 16, 2005 Carl Lagoze – Cornell University.
The Information School at the University of Washington LIS 549 U/TU: Intro to Content Management Fall 2003 * Bob Boiko * MSIM Associate Chair XML Schemas.
WSDL Web Services Description Language Neet Wadhwani University of Colorado 3 rd October, 2001.
Master Informatique 1 Semantic Technologies Part 3RDF/XML: Encoding RDF into XML Werner Nutt.
1 understanding xml namespaces. 2 understanding namespaces Namespaces are the source of much confusion in XML, especially for those new to the technology.
1 Advanced Topics XML and Databases. 2 XML u Overview u Structure of XML Data –XML Document Type Definition DTD –Namespaces –XML Schema u Query and Transformation.
ECA 228 Internet/Intranet Design I Intro to XML. ECA 228 Internet/Intranet Design I HTML markup language very loose standards browsers adjust for non-standard.
XP New Perspectives on XML Tutorial 4 1 XML Schema Tutorial – Carey ISBN Working with Namespaces and Schemas.
Introduction to XML cs3505. References –I got most of this presentation from this site –O’reilly tutorials.
Why XML ? Problems with HTML HTML design - HTML is intended for presentation of information as Web pages. - HTML contains a fixed set of markup tags. This.
Contracts & the Semantic Web John McClure Hypergrove Engineering Port Townsend, Washington.
XML CPSC 315 – Programming Studio Fall 2008 Project 3, Lecture 1.
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
18-Sep-14 CS6795 Semantic Web Techniques 0 Extensible Markup Language.
Cornell CS 502 More XML XHTML, namespaces, DTDs CS 502 – Carl Lagoze – Cornell University.
WEB SERVICE DESCRIPTION LANGUAGE ( WSDL) -SIVA SAGAR TELLA.
 XML is designed to describe data and to focus on what data is. HTML is designed to display data and to focus on how data looks.  XML is created to structure,
Of 33 lecture 3: xml and xml schema. of 33 XML, RDF, RDF Schema overview XML – simple introduction and XML Schema RDF – basics, language RDF Schema –
1 XML An Overview Roger Debreceny University of Hawai`i Skip White University of Delaware XBRL Workshop, August 2006.
More XML namespaces, DTDs CS 431 – Carl Lagoze – Cornell University.
Accessing Data Using XML CHAPTER NINE Matakuliah: T0063 – Pemrograman Visual Tahun: 2009.
1 Credits Prepared by: Rajendra P. Srivastava Ernst & Young Professor University of Kansas Sponsored by: Ernst & Young, LLP (August 2005) XBRL Module Part.
Advanced Accounting Information Systems Day 31 XML Language Foundation November 6, 2009.
XML Basics A brief introduction to XML in general 1XML Basics.
CS 157B: Database Management Systems II February 11 Class Meeting Department of Computer Science San Jose State University Spring 2013 Instructor: Ron.
Internet & World Wide Web How to Program, 5/e. © by Pearson Education, Inc. All Rights Reserved.2.
1 herbert van de sompel CS 502 Computing Methods for Digital Libraries Cornell University – Computer Science Herbert Van de Sompel
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.
When we create.rtf document apart from saving the actual info the tool saves additional info like start of a paragraph, bold, size of the font.. Etc. This.
Structured Documents - XML and FrameMaker 7 Asit Pant.
22-Sep-06 CS6795 Semantic Web Techniques 0 XML Namespaces.
Martin Kruliš by Martin Kruliš (v1.1)1.
Tutorial 2: XML Working with Namespaces. 2 Name Collision This figure shows two documents each with a Name element.
Evaluation Biztalk Table of Contents Introduction to XML. Anatomy of an XML document. What is an XML Schema? What is SOAP? XML Web Services overview.
Introduction to XML Namespaces Web Engineering, SS 2007 Tomáš Pitner.
CIS 228 The Internet 9/20/11 XHTML 1.0. “Quirks” Mode Today, all browsers support standards Compliant pages are displayed similarly There are multiple.
 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners,
ACG 6415 XML Schemas XML Namespaces XMLink. The XML Foundation  Many participants – an extended family! XML documents – carry data in context  Each.
Web Services. XML Namespaces, Schemas XML processing. Week 2.
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 7 Representing Web Data:
CHAPTER NINE Accessing Data Using XML. McGraw Hill/Irwin ©2002 by The McGraw-Hill Companies, Inc. All rights reserved Introduction The eXtensible.
PART 1 XML Basics. Slide 2 Why XML Here? You need to understand the basics of XML to do much with Android All of they layout and configuration files are.
1 Extensible Stylesheet Language (XSL) Extensible Stylesheet Language (XSL)
Beginning XML 4th Edition. Chapter 3: XML Namespaces.
Web Services: Principles & Technology Slide 3.1 Chapter 3 Brief Overview of XML COMP 4302/6302.
The Purpose of XML Namespaces
Unit 4 Representing Web Data: XML
Eugenia Fernandez IUPUI
Chapter 7 Representing Web Data: XML
Namespace Review 21-Nov-18.
Namespaces.
Namespace Review 29-Dec-18.
گزارش اجرای سامانه ملی مدیریت اطلاعات علمی و فناوری
Extensible Markup Language
Namespace Review 14-Oct-19.
New Perspectives on XML
Presentation transcript:

26-Sep-11 CS6795 Semantic Web Techniques 0 XML Namespaces

26-Sep-11 CS6795 Semantic Web Techniques 1 XML Namespaces and Programming-Language Modules XML namespaces are akin to namespaces, packages, and modules in programming languages Disambiguation of element – and attribute – names from different XML applications (“spaces”) through different prefixes A prefix is separated from the local name by a “:”, obtaining prefix:name tags Namespaces can be seen as a layer on top of XML 1.0, since prefix:name is again a valid tag name and namespace bindings are ignored by some tools

26-Sep-11 CS6795 Semantic Web Techniques 2 Namespace Bindings Prefixes are bound to namespace URIs by attaching an xmlns:prefix attribute to the prefixed element or one of its ancestors, prefix:name 1,..., prefix:name n The value of the xmlns:prefix attribute is a URI, which may or (unlike for schemas!) may not point to a description of the namespace An element can use bindings for multiple name- spaces via attributes xmlns:prefix 1,..., xmlns:prefix m More at and

26-Sep-11 CS6795 Semantic Web Techniques 3 Namespaceless Example: Address Variant Xaver M. Linde Wikingerufer Berlin / / / Namespaceless XML Markup: bill is ambiguous tag (name clash from two XML applications)

26-Sep-11 CS6795 Semantic Web Techniques 4 Two-Namespace Example: Snail-Mail and Telecoms Address Parts <mail:address xmlns:mail=" xmlns:tele=" Xaver M. Linde Wikingerufer Berlin / / / Namespace XML Markup: The root element, mail:address, as well as the children mail:name, mail:street, mail:town, and mail:bill, use the mail prefix, bound to a deutschepost URI The tele:phone, tele:fax, and tele:bill children use the tele prefix, bound to a telekom URI bill disambiguation through mail and tele prefixes