Introduction to the TransXChange Schema

Slides:



Advertisements
Similar presentations
CSCI N241: Fundamentals of Web Design Copyright ©2004 Department of Computer & Information Science Introducing XHTML: Module B: HTML to XHTML.
Advertisements

Copyright © 2003 Pearson Education, Inc. Slide 7-1 Created by Cheryl M. Hughes, Harvard University Extension School Cambridge, MA The Web Wizards Guide.
DLI Training Nesstar Workshop
Data Documentation Initiative (DDI) Workshop Carol Perry Ernie Boyko April 2005 Kingston Ontario.
Overview of the TransXChange Model (TransXChangeSchemaGuide-2.1-v-44)
Introduction to TransXChange
A Short Tour of the TransXChange Schema (TransXChangeSchemaGuide-2.1-v-44)
The TransXChange Publisher
The TransXChange Publisher. Converts the TXC data into a form that can be read Available free from the TXC website at:-
Look, no forms! Integrating ESBRs into the IT Enterprise ATCO Seminar - May 10, 2005.
XML Schema Heewon Lee. Contents 1. Introduction 2. Concepts 3. Example 4. Conclusion.
The eXtensible Markup Language (XML) An Applied Tutorial Kevin Thomas.
XML: Extensible Markup Language
XML: text format Dr Andy Evans. Text-based data formats As data space has become cheaper, people have moved away from binary data formats. Text easier.
Intro to HTML Kin 260 Jackie Kiwata.
1 RDF Tutorial. C. Abela RDF Tutorial2 What is RDF? RDF stands for Resource Description Framework It is used for describing resources on the web Makes.
1 Web Data Management XML Schema. 2 In this lecture XML Schemas Elements v. Types Regular expressions Expressive power Resources W3C Draft:
Web Services Seminar: Service Description Languages
RDF Tutorial.
An Introduction to XML Based on the W3C XML Recommendations.
General Ledger and Reporting System
XHTML1 Building Document Structure. XHTML2 Objectives In this chapter, you will: Learn how to create Extensible Hypertext Markup Language (XHTML) documents.
XML CS 105. What is XML? XML stands for Extensible Markup Language. XML is a markup language like HTML. XML was designed to describe data. You must define.
Introducing XHTML: Module B: HTML to XHTML. Goals Understand how XHTML evolved as a language for Web delivery Understand the importance of DTDs Understand.
Copyright © 2003 Pearson Education, Inc. Slide 1-1 Created by Cheryl M. Hughes, Harvard University Extension School — Cambridge, MA The Web Wizard’s Guide.
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
SD2520 Databases using XML and JQuery
Copyright © 2003 Pearson Education, Inc. Slide 2-1 Created by Cheryl M. Hughes, Harvard University Extension School — Cambridge, MA The Web Wizard’s Guide.
Chapter 12 Creating and Using XML Documents HTML5 AND CSS Seventh Edition.
Method of Converting Resource definitions into XSD Group Name: WG3 (PRO) Source: Shingo Fujimoto, FUJITSU, Meeting Date:
Chapter 16 The World Wide Web. 2 The Web An infrastructure of information combined and the network software used to access it Web page A document that.
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.
CREATED BY ChanoknanChinnanon PanissaraUsanachote
XML Technologies Surekha Akula
Introduction to XML. What is XML? Extensible Markup Language XML Easier-to-use subset of SGML (Standard Generalized Markup Language) XML is a.
XHTML1 Building Document Structure Chapter 2. XHTML2 Objectives In this chapter, you will: Learn how to create Extensible Hypertext Markup Language (XHTML)
XHTML. Introduction to XHTML What Is XHTML? – XHTML stands for EXtensible HyperText Markup Language – XHTML is almost identical to HTML 4.01 – XHTML is.
1 CIS336 Website design, implementation and management (also Semester 2 of CIS219, CIS221 and IT226) Lecture 6 XSLT (Based on Møller and Schwartzbach,
What is XML?  XML stands for EXtensible Markup Language  XML is a markup language much like HTML  XML was designed to carry data, not to display data.
Session IV Chapter 9 – XML Schemas
XML TUTORIAL Portions from w3 schools By Dr. John Abraham.
Lecture 11 XSL Transformations (part 1: Introduction)
© 2012 The MITRE Corporation. All rights reserved. For internal MITRE use 13 June 2013 Meeting #3 hData Record Format Taskforce 1 © 2012 The MITRE Corporation.
NeTEx (Network Exchange) A Transmodel based XML schema for Public Transport for Europe Networks, Stops, Timetables PTIC Oldham Nick Knowles.
New Perspectives on XML, 2nd Edition
Waqas Anwar Next SlidePrevious Slide. Waqas Anwar Next SlidePrevious Slide XML XML stands for EXtensible Markup Language.
XML Instructor: Charles Moen CSCI/CINF XML  Extensible Markup Language  A set of rules that allow you to create your own markup language  Designed.
Lecture 16 Introduction to XML Boriana Koleva Room: C54
1 Introduction to XML XML stands for Extensible Markup Language. Because it is extensible, XML has been used to create a wide variety of different markup.
1 Credits Prepared by: Rajendra P. Srivastava Ernst & Young Professor University of Kansas Sponsored by: Ernst & Young, LLP (August 2005) XBRL Module Part.
XML Introduction. What is XML? XML stands for eXtensible Markup Language XML stands for eXtensible Markup Language XML is a markup language much like.
The eXtensible Markup Language (XML). Presentation Outline Part 1: The basics of creating an XML document Part 2: Developing constraints for a well formed.
XML 2nd EDITION Tutorial 4 Working With Schemas. XP Schemas A schema is an XML document that defines the content and structure of one or more XML documents.
1 Tutorial 14 Validating Documents with Schemas Exploring the XML Schema Vocabulary.
Tutorial 13 Validating Documents with Schemas
Representing data with XML SE-2030 Dr. Mark L. Hornick 1.
XML CSC1310 Fall HTML (TIM BERNERS-LEE) HyperText Markup Language  HTML (HyperText Markup Language): December  Markup  Markup is a symbol.
XML blocks XML STRUCTURE The most basic building blocks of an XML file are elements, attributes and comments. Compiled based on Tutorial PhUSE 2008 XML.
Working with XML. Markup Languages Text-based languages based on SGML Text-based languages based on SGML SGML = Standard Generalized Markup Language SGML.
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.
XML Extensible Markup Language
DITA MAPS. Session results DITA Map Definition and Purpose Power of DITA Maps DITA Map Types Bookmaps – Additional Information DITA Maps Practice DITA.
Glencoe Introduction to Web Design Chapter 4 XHTML Basics 1 Review Do you remember the vocabulary terms from this chapter? Use the following slides to.
Extensible Markup Language (XML) Pat Morin COMP 2405.
XML BASICS and more…. What is XML? In common:  XML is a standard, simple, self-describing way of encoding both text and data so that content can be processed.
Session III Chapter 6 – Creating DTDs
XML Data Introduction, Well-formed XML.
XML Data DTDs, IDs & IDREFs.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Session II Chapter 6 – Creating DTDs
Presentation transcript:

Introduction to the TransXChange Schema (TransXChangeSchemaGuide-2.1-v-44)

What is the TransXChange Schema? The schema defines the properties of each element (e.g. Service, Operator) in the TransXChange model and how each element is related to others. The schema provides a common point of reference for all systems and users of TransXChange. The current schema version is 2.1. The schema is Crown Copyright. The latest version can be obtained from http://www.transxchange.org.uk/schema/schemas.htm 2

TransXChange File Formats TransXChange is based on an open source software standard known as ‘XML’. XML stands for eXtensible Mark-up Language. The elements for describing a bus service in a registration are arranged and presented in an XML document in accordance with the schema. Elements are defined by pairs of ‘tags’, which enclose each piece of textual or numerical information (see next slide). The schema is held separately in .xsd format. 3 3

From Schema to XML File

A Short Tour of the Schema The TransXChange Schema Guide is the authoritative guide to the schema. Although a very technical document, it also has a great deal of explanatory content and examples to assist those new to XML. The rest of the presentation gives a short introduction to the structure and the main elements of the schema. Further reference should be made to the TransXChange Schema Guide Chapter 6, and to the online examples in XML and PDF format.

Top Level TXC Schema Child elements Root element

The TXC Root Element The root element contains reference information for the file. Some attributes of the TransXChange root element include: xml:lang: Default language of document. Default is English. SchemaVersion: TransXChange schema version identifier used for the document content model. Fixed: must be the schema version, e.g. 2.0 . MappingSystem: Data system to use for mapping references ( OS , Navtech , etc) within the document. LocationSystem: Data system to use for location coordinate references within the document: WGS84 or Grid . Must be Grid for registration documents.

TransXChange Child Elements The TransXChange element has 12 child elements, which may be further subdivided into four groups: Registration Elements: Operator, Registration, (ShortNoticeRegistration). Service Supply elements: Service, (StandardService, FlexibleService, Line, JourneyPattern), JourneyPatternSection, VehicleJourney. Topographical elements: StopPoint, StopArea, NptgLocality, ServicedOrganisation. Route and Network topology elements: Route, RouteSection, RouteLink. Ancillary elements: SupportingDocument.

Registration Elements Operators: Describes the operator(s) of a service.

Operators XML Example

Registration Elements Registrations: A collection of Registration elements, each referencing a Service element.

Registrations XML Example

Service Supply elements Services: Definitions of services.

Services XML Example

Service Supply Elements JourneyPatternSections: Definitions of Journey Pattern Sections.

JourneyPatternSections Example

Service Supply elements VehicleJourneys: Definitions of Vehicle Journeys used in one or more services.

Service Supply elements

TransXChange Child Elements Topographical elements: NptgLocalities: Names of NPTG localities used in local stop definitions in the schedule. StopPoints: Local stop definitions for stops used in services in the schedule. StopAreas: Local StopArea definitions. Route and Network Topology elements: Routes: Definitions of transport routes. RouteSections: Definitions of the Route Sections making up all or part of a route.

TransXChange Child Elements Other child elements: ServicedOrganisations: Organisations serviced by the schedule, e.g. an LEA, and their working and non-working days. SupportingDocuments: Additional documents describing the service. Other important schema elements: The OperatingProfile element specifies on which days a service operates. It can be specified on a VehicleJourney, a JourneyPattern and on a Service.

Examples Work through some XML examples taken from the TransXChange website, starting with the Linear Route. Refer to Section 6 of the Schema Guide for further information on specific elements