Using XML for Legends and Map Surround DIGITAL MAPPING TECHNIQUES 2005 By Vic Dohar Natural Resources Canada.

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

3.02D HTML Overview 3.02 Develop webpages.
XML Schema Heewon Lee. Contents 1. Introduction 2. Concepts 3. Example 4. Conclusion.
DOCUMENT TYPES. Digital Documents Converting documents to an electronic format will preserve those documents, but how would such a process be organized?
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 XML.
XML and Enterprise Computing. What is XML? Stands for “Extensible Markup Language” –similar to SGML and HTML –document “tags” are used to define content.
WeB application development
Website Design.
SPECIAL TOPIC XML. Introducing XML XML (eXtensible Markup Language) ◦A language used to create structured documents XML vs HTML ◦XML is designed to transport.
An Introduction to XML Based on the W3C XML Recommendations.
XML XML What XML is and what it means to me as a Computer Scientist By: Derek Edwards CS 376 March 10, 2003.
ICS-FORTH 1 May 22, 2001 Christos Georgis The extensible markup language: An introduction to XML What is a XML document ? How do we check its validity.
INF201 Fall2010 Intro. to Info. Technologies Department of Informatics University at Albany – SUNY Original Source: w3schools.com Prepared by Xiao Liang,
Sistemi basati su conoscenza XML Prof. M.T. PAZIENZA a.a
XML Introduction What is XML –XML is the eXtensible Markup Language –Became a W3C Recommendation in 1998 –Tag-based syntax, like HTML –You get to make.
Tutorial 11 Creating XML Document
XML Primer. 2 History: SGML vs. HTML vs. XML SGML (1960) XML(1996) HTML(1990) XHTML(2000)
Introduction to XML: Yong Choi CSU Bakersfield.
Introduction to XML Rashmi Kukanur. XML XML stands for Extensible Markup Language XML was designed to carry data XML and HTML designed with different.
Introducing XHTML: Module B: HTML to XHTML. Goals Understand how XHTML evolved as a language for Web delivery Understand the importance of DTDs Understand.
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
Manohar – Why XML is Required Problem: We want to save the data and retrieve it further or to transfer over the network. This.
MIGRATING FROM ARCINFO WORKSTATION TO ARCGIS By Vic Dohar, Natural Resources Canada Digital Mapping Techniques ‘04.
Copyright © 2003 Pearson Education, Inc. Slide 2-1 Created by Cheryl M. Hughes, Harvard University Extension School — Cambridge, MA The Web Wizard’s Guide.
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.
Chapter 12 Creating and Using XML Documents HTML5 AND CSS Seventh Edition.
Basics of HTML.
Pemrograman Berbasis WEB XML part 2 -Aurelio Rahmadian- Sumber: w3cschools.com.
 Introduction to XML Introduction to XML  Features of XML Features of XML  Syntax of XML Syntax of XML  Syntax rules of XML document Syntax rules.
Introduction to XML cs3505. References –I got most of this presentation from this site –O’reilly tutorials.
CREATED BY ChanoknanChinnanon PanissaraUsanachote
XML: Overview MIS 181.9: Service Oriented Architecture 2 nd Semester,
ColdFusion’s XML Capabilities Maryland CFUG April 12, 2005 Presented by Doug Ward.
XP 1 CREATING AN XML DOCUMENT. XP 2 INTRODUCING XML XML stands for Extensible Markup Language. A markup language specifies the structure and content of.
XML Technologies Surekha Akula
1/14 ITApplications XML Module Session 2: Using and Creating XML Documents.
Introduction to XML 1. XML XML started out as a standard data exchange format for the Web Yet, it has quickly become the fundamental instrument in the.
Tutorial 1 Developing a Basic Web Page. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives – Lesson 1 Introduction to the.
HTML INTRODUCTION, EDITORS, BASIC, ELEMENTS, ATTRIBUTES.
XHTML. Introduction to XHTML What Is XHTML? – XHTML stands for EXtensible HyperText Markup Language – XHTML is almost identical to HTML 4.01 – XHTML is.
FIGIS’ML Hands-on training - © FAO/FIGIS An introduction to XML Objectives : –what is XML? –XML and HTML –XML documents structure well-formedness.
 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,
Session IV Chapter 9 – XML Schemas
XML TUTORIAL Portions from w3 schools By Dr. John Abraham.
How do I use HTML and XML to present information?.
Softsmith Infotech XML. Softsmith Infotech XML EXtensible Markup Language XML is a markup language much like HTML Designed to carry data, not to display.
E0262 – MIS – Multimedia Storage Techniques XML (Extensible Markup Language  XML is a markup language for creating documents containing structured information.
Waqas Anwar Next SlidePrevious Slide. Waqas Anwar Next SlidePrevious Slide XML XML stands for EXtensible Markup Language.
Introduction to XML This presentation covers introductory features of XML. What XML is and what it is not? What does it do? Put different related technologies.
XML Instructor: Charles Moen CSCI/CINF XML  Extensible Markup Language  A set of rules that allow you to create your own markup language  Designed.
An Introduction to XML Sandeep Bhattaram
XML Introduction. What is XML? XML stands for eXtensible Markup Language XML stands for eXtensible Markup Language XML is a markup language much like.
What it is and how it works
XML Introduction. Markup Language A markup language must specify What markup is allowed What markup is required How markup is to be distinguished from.
XML Basics A brief introduction to XML in general 1XML Basics.
Jennifer Widom XML Data Introduction, Well-formed XML.
1 herbert van de sompel CS 502 Computing Methods for Digital Libraries Cornell University – Computer Science Herbert Van de Sompel
Introduction to XML XML – Extensible Markup Language.
XML CSC1310 Fall HTML (TIM BERNERS-LEE) HyperText Markup Language  HTML (HyperText Markup Language): December  Markup  Markup is a symbol.
XML. HTML Before you continue you should have a basic understanding of the following: HTML HTML was designed to display data and to focus on how data.
C Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Introduction to XML Standards.
Chapter 29. Copyright 2003, Paradigm Publishing Inc. CHAPTER 29 BACKNEXTEND 29-2 LINKS TO OBJECTIVES Attach an XML Schema Attach an XML Schema Load XML.
Introduction to XML Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
VCE IT Theory Slideshows by Mark Kelly study design By Mark Kelly, vceit.com, Begin.
XML Extensible Markup Language
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.
XML intro. 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.
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.
XML Data Introduction, Well-formed XML.
XML Data DTDs, IDs & IDREFs.
Presentation transcript:

Using XML for Legends and Map Surround DIGITAL MAPPING TECHNIQUES 2005 By Vic Dohar Natural Resources Canada

What is XML?  Stands for Extensible Mark-up Language  Standard mark-up language similar to HTML  HTML designed to display data  XML designed to describe data/information  Text based. Simple to read/understand  XML does not do anything. It is a document with a defined structure to store/share data with applications

What Constitutes an XML File?  An XML file contains tags, optional tag attributes, and a value or data between tags  You must define your own tags, they are not predefined  The syntax is simple yet strict. Some rules are:  All XML documents must contain a declaration and one unique root element  All elements must have matching start and end tag  Tags are case sensitive  All elements must be properly nested  Tag attribute values must always be quoted

Well Formed XML  An XML file is said to be “well formed” when none of the syntax rules are broken Using XML for Legends and Map Surround Vic Dohar Natural Resources Canada

How do You Create XML Files?  Edit XML files with XML editors. Some are simple, some are loaded with rich functionality  Peter’s XML Editor (simple and free)  XMLSpy by Altova (rich, $$$ license)   Most cases you write scripts that create XML files by referencing the XML Document Object Model (DOM)

XML Schemas  Schemas define the structure/elements, legal building blocks of an XML document  Defines elements, attributes  Child elements  Number and order of elements  Data types for elements  Schemas are saved as XSD documents  XML files are validated against XSD  Write XSD in XML or use application

Sample XSD

XML Sources  W3 Schools  Microsoft Development Network (MSDN)

Publication Process and Integration  Electronic publication processing system database to manage and track publications (reports, bulletins, maps) through the various production stages  Paperless trail utilizing on-line forms  Steps and checks along the way including editorial reviews, quality control, plotting  Extract information (metadata) from Oracle database to XML for map surround info

Sample XML File From Database Smith L english no A-series map 2059 Sandilands surficial geology Manitoba

Surround Information  VBA application in ArcMap reads XML file and plots title block and recommended citation accordingly  Reduces errors and omissions  Provides consistent rendering of data adhering based on design specifications  Design specifications stored in an additional XML file

Sample Title Block

Design Specs XML File HaCenter VaBaseline Arial Regular

Geological Legends

Geological Legends Using XML  Proposed procedure with ArcMap  Content of legend in Word, paragraphs formatted according to predefined styles  Export Word to XML, validating to Legend Content XSD  In ArcMap, execute VBA script to read XML file and draw legend, utilizing two additional XML files:  XML file for design specifications  XML file for legend layout and placement

Demo  Edit legend document in Word  Convert Word document to XML  Draw legend in ArcMap

Future  Complete it!  Extend legend to include symbols used on map  It will be made available to download for free on our website click on Toolbox, click on ArcGIS Migration

Demo: Notes  Format paragraphs  Content is important  Formatting appearance is only a visual aid in Word  Word document can be pre-processed by editorial staff for accuracy

Demo: Legend in Word

Demo: Convert XML

Demo: View XML File

Demo: ArcMap

Demo: Not Just For Legends