An XML Representation of the Octgrid for the Rectangular Dissections

Size: px
Start display at page:

Download "An XML Representation of the Octgrid for the Rectangular Dissections"

Transcription

1 2016 4th Intl Conf on Applied Computing and Information Technology/3rd Intl Conf on Computational Science/Intelligence and Applied Informatics/1st Intl Conf on Big Data, Cloud Computing, Data Science & Engineering An XML Representation of the Octgrid for the Rectangular Dissections Koushi Anzai Department of Economics Kanto Gakuen University Ohta, Gunma, , Japan Takeo Yaku Department of Information Science Nihon University Setagaya, Tokyo, , Japan Takaaki Goto Department of Distribution and Logistics Systems Ryutsu Keizai University Ryugasaki, Ibaraki, , Japan Youzou Miyadera Division of Natural Science Tokyo Gakugei University Koganei, Tokyo, , Japan Ken Yokota Department of Information Science Nihon University Setagaya, Tokyo, , Japan Abstract This paper proposes an XML representation of octgrid completely. Octgrid is a data structure based on octal grid graphs for heterogeneous rectangular dissections. This model is represented by a list structure called H3-Code. The file format of H3-Code is a plain text file that consists of a plurality of space separated field. Therefore we introduced the XML representation called H14-Code. Keywords octgrid; heterogeneous rectangular dissections; XML; spreadsheet; I. INTRODUCTION H14-Code is the specification of data structures and data format for developing table processing systems. H14-Code represents the list-type data structure called octgrid in XML. H14-Code is based on the H3-Code [2, 5]. The feature of H14-Code is the XML representation for the list-type data structure. Since you can use existing XML technology by representing the list-type data structure in XML, you can expect to build easily the processing system that applies the list-type data structure. However, the XML representation which is proposed by Shiono et al [3, 4 ] requires a specific order of cells to display it. According to previous studies [1, 6, 9], "octgrid" list structure to represent a heterogeneous rectangular dissections has been proposed. Octgrids are octal degree heterogeneous grid graphs. Each node of octgrid correspond to the rectangle of the dissections. The relationship with the adjacent node are held by the edges of eight directions. Therefore, It can make relation between the two rectangles which is splitted by another heterogeneous rectangle. First, we survey octgrid that represent heterogeneous rectangular dissections. Next, we introduce a new XML representation for octgrid. II. OCTGRIDS FOR THE RECTANGULAR DISSECTIONS A. The Octgrid Model [1, 9] A rectangular dissection is a set of rectangles, the sides of which are parallel, such that the area is covered by the union of all rectangles with no intersection. Figure 1 shows each of these four walls (left) and an example of rectangular dissection (right). Fig. 1. Each of these four walls (left) and an example of rectangular dissection (right) [10] The octgrid G for a rectangular dissection D is defined as follows. Definition 2.1 Consider D to be a rectangular dissection. G D is an octgrid corresponding to D if and only if D is represented as a multiedge undirected graph where : the set of vertices that represents cells in D : defined by the following Rules 1 4. is defined by the following Rules 1 4. : the set of attributes are defined for by /16 $ IEEE DOI /ACIT-CSII-BCD

2 <Rule 1> If and there is no cell between c and d having an equal north wall, then In this case, is called a north wall edge (see Figure 2). <Rule 2> If and there is no cell between c and d having an equal south wall, then In this case, is called a south wall edge (see Figure 3). <Rule 3> If and there is no cell between c and d having an equal east wall, then In this case, is called a east wall edge (see Figure 4). <Rule 4> If and there is no cell between c and d having an equal west wall, then In this case, is called a west wall edge (see Figure 5). Fig. 2. Illustration of Rule 1. [7] Fig. 3. Illustration of Rule 2. [7] Fig. 4. Illustration of Rule 3. [7] Fig. 5. Illustration of Rule 4. [7] Definition 2.2 G is an octgrid if and only if there is a rectangular dissection D such that G is an octgrid corresponding to D. Figure 6 shows an example of a heterogeneous rectangular dissection including inner cells and perimeter cells (left) and its corresponding octgrid (right). Fig. 6. Heterogeneous rectangular dissection (left) and corresponding octgrid (right) [10] B. Octgrid Implementation (H3-Code) For Octgrid implementation, a file format called H3-Code is proposed [2, 5], which is a list structure as shown in Figure 7. Fig. 7. Fields of a cell (left) and the whole structure of an H3-Code (right) [2] III. XML REPRESENTATION FOR OCTDRID (H14-CODE OVER VIEW)[8] In this section, we introduce an XML representation for octgrid easily. The XML notation which is proposed by Shiono et al. requires a specific order of cells to display it. But, it can be displayed directly with some appropriate XSL style sheet. Meanwhile, since our XML notation is converted into another XML notation for display by another process, our XML notation does not require any particular order of cells. We will show an algorithm for the process. First, each node of octgrid consists of the following elements (See Figure 7) links to the cell around wwe_upper, ewe_upper, wwe_lower, ewe_lower, nwe_left, swe_left, nwe_right, swe_right 2. Additional information about the s of the cell cell_id, north_wall (information for the north wall position), south_wall, west_wall, east_wall, link(location for the s of the cell), align, epoint Next, we define XML representation for each cell as follows. <cell> <wwe_upper>~</wwe_upper> <swe_right>~</swe_right> <cell_id>~</cell_id> <_lnk>~</ _lnk > </cell> We define the following notation as a whole by adding other information and header information. The cell tag is repeated as many times as necessary. 39

3 <?xml version= 1.0?> <H14Code> <header> <version>~</version> </header> <HLTC> <cell>~</cell> <cell>~</cell> </HLTC> <HCContent>~</HCContent> </H14Code> IV. H14-CODE In this section, we introduce H14-Code completely. We define the XML representation for octgrid by EBNF notation. H14-Code is consists of header part, HLTC part, and HCContent part. <H14-Code-Syntax> ::= "<?xml version = \"1.0\"?>" "<H14Code>" <header-section> <HLTC-section> <HCContent-section> "</H14Code>" ; The following items are described in the header section. 1. version of H14-Code 2. size of row 3. size of column 4. number of s 5. document title 6. author(s) 7. date 8. document version TABLE I. HEADER SECTION item significance specification restriction h_version version of text - H14-Code row row size integer - column column size integer - s number of integer - s title document text - title author author(s) text - date date text - doc_version document version text - <header-section> ::= "<header>" "<h_version>".+ "</h_version>" "<row>" [0-9]+ "</row>" "<column>" [0-9]+ "</column>" "<s>" [0-9]+ "</s>" "<title>".+ "</title>" "<author>".+ "</author>" "<date>".+ "</date>" "<doc_version>".+ "</doc_version>" "</header>" ; The following items are described in the HLTC (HList for Table Cell) section. 1. invisible cell (perimeter cell) 2. visible cell <HLTC-section> ::= "<HLTC>" "<perimeter>" <cells> "</perimeter>" "<visible>" <cells> "</visible>" "</HLTC>" ; <cells> ::= <cell> <cell> <cells> ; <cell> ::= "<cell>" "<cell_id>" [0-9]+ "</cell_id>" "<wwe_upper>" [0-9]+ "</wwe_upper>" "<wwe_lower>" [0-9]+ "</www_lower>" "<ewe_upper>" [0-9]+ "</ewe_upper>" "<ewe_lower>" [0-9]+ "</ewe_lower>" "<nwe_left>" [0-9]+ "</nwe_left>" "<nwe_right>" [0-9]+ "</nwe_right>" "<swe_left>" [0-9]+ "</swe_left>" "<swe_right>" [0-9]+ "</swe_right>" "<east_wall>" [0-9]+ "</east_wall>" "<west_wall>" [0-9]+ "</west_wall>" "<south_wall>" [0-9]+ "</south_wall>" "<north_wall>" [0-9]+ "</north_wall>" "<_lnk>" [0-9]+ "</_lnk>" "<align>" [0-3] "</align>" "</cell>" ; The following items are described in the HCContent (Contents list for H14-Code) section. 40

4 TABLE II. HCCONTENT SECTION item significance specification restriction _id _type object identifier data type of itself or link for the <HCContent-section> ::= integer >=1 integer 1: text 100 : HTML 101 : RTF 102 : image text (double quote) unique number - link for the other file, keyword link is required (ex) link:./sample.jpg "<HCContent>" "</HCContent>" "<HCContent>" <s> "</HCContent>" ; <s> ::= <> <> <s> ; <> ::= "<>" "<_id>" [0-9]+ "</_id>" "<_type> "[0-9]+ "</_type>" "<object>".+ "</object>" "</>" ; V. CONVERSION ALGORITHM In order to display the XML in a browser, it must be arranged in the same order as each tag in HTML that corresponds each tag of XML. On the other hand, the XML tags in the H14-Code may not aligned in this order. Therefore, in order to display the rectangular dissection corresponding to the given H14-Code, we need an algorithm that adds some attributes for the actual display and rearranges the XML tags of the H14-Code in this order. The XML code (viewable XML) obtained by this algorithm is converted to a HTML in the browser with a suitable XSLT program. Algorithm H14-Code_to_viewableXML INPUT H14-Code OUTPUT viewable XML code METHOD Let s be the perimeter cell in the upper left corner of a rectangular dissection. FOR (c := s ; c!= NULL ; c := c.wwe_lower) { PUT "<row>" ; FOR (d := c ; d!= NULL ; d := d.nwe_right) { PUT "<cell>" ; celltype = 0 ; IF d is a perimeter cell THEN PUT celltype, s of d ELSE { GET rowspan, colspan from 4 walls location ; celltype = 1 ; PUT celltype ; PUT contens of d and some attributes (rowspan, colspan, etc) ; PUT "</cell>" ; PUT "</row>" ; Algorithm viewablexml_to_html INPUT viewable XML code OUTPUT HTML METHOD <?xml version = "1.0"?> <xsl:stylesheet xmlns:xsl = " version = "1.0"> <xsl:output method = "html" /> <xsl:template match = "/"> <html> <head> <title> <xsl:value-of select = "H14CodeTABLE/title" /> </title> </head> <body> <h1> <xsl:value-of select = "H14CodeTABLE/title" /> </h1> <table border="0" cellspacing="3" cellpadding="10"> <xsl:apply-templates select = "H14CodeTABLE" /> </table> </body> </html> </xsl:template> <xsl:template match = "H14CodeTABLE" > <xsl:for-each select = "row" > <tr> 41

5 <xsl:for-each select = "cell" > <xsl:choose> <xsl:when test = "celltype=0" > <td> </td> <!-- invisible space mark --> </xsl:when> <xsl:when test = "celltype=1" > <xsl:element name="td"> <xsl:attribute name="bgcolor"> silver <xsl:attribute name="rowspan"> <xsl:value-of select = "rowspan" /> <xsl:attribute name="colspan"> <xsl:value-of select = "colspan" /> <xsl:value-of select = "" /> </xsl:element> </xsl:when> <xsl:otherwise > </xsl:otherwise > </xsl:choose> </xsl:for-each> </tr> </xsl:for-each> </xsl:template> </xsl:stylesheet> Figure8 shows the result of algorithm viewablexml_to_ HTML XSLT program on the web browser. This table represents the structure for figure 6. VI. CONCLUSION In this paper, we surveyed an octgrid graph model. Furthermore, we have introduced an XML representation for the octgrid graph completely. This XML representation we proposed is not able to display the table directly in the web browser. In order to display on the web browser, you need a program to output the cell tags in the same order as the HTML TABLE tags. We have shown two algorithms for that. As future works, we would like to establish an H14-Code development foundation that is based on standard technologies such as XML parsers and RDBMS. [8] REFERENCES [1] T. Yaku, Representation of Heterogeneous Tessellation Structures by Graphs, Working Group of Automata and Its Applications Research Report 2001, [2] Tadaaki Kirishima, Tomoe Motohashi, Kensei Tsuchida, Takeo Yaku, Table Processing based on Attribute Graphs, Proc. IASTED SEA 2002, pp [3] Yasunori Shiono, Tomokazu Arita, Tadaaki Kirishima, Kensei Tsuchida, Takeo Yaku, XML Data Formats for General Tabular Forms, Proc. the 22nd Conf. Japan Society for Software Science and Technology (JSSST), 7D-3, [4] Y. Shiono, K. Tsuchida and T. Yaku, H10-Code, Working Group of Automata and Its Applications Research Report 2006, Specification_1_00_english.odt [5] T. Arita and T. Yaku, H3Code version 2.3, Working Group of Automata and Its Applications Research Report 2006, waap-rr/waap-rr /index.html [6] Takeo Yaku, Koichi Anada, Koushi Anzai, Shinji Koka, Kensei Tsuchida, 8k-ary Grid Graph Modeling of the Rectangular Dissections, Proc. Int l Conf. Modeling, Sim. and Vis. Methods, pp , 2012 [7] Koichi Anada, Shinji Koka, Akihito Kubota, Yuki Shindo, and Takeo Yaku, The Number of Cells in Regions Shifted on 2D Images Represented by Raster Data with Heterogeneous Parts, Proc. 14th IEEE/ACIS (SNPD), pp , [8] Koushi Anzai, Koichi Anada, Youzou Miyadera, Takeo Yaku, Ken Yokota, A Consept of the Editing for Spreadsheets Based on Octgrids and SQL, Proc. 27th International Conference on Computer Applications in Industry and Engineering (CAINE2014) pp , 2014 [9] Takeo Yaku, Kouichi Anada, Koushi Anzai, Shinji Koka, Youzou Miyadera, and Kensei Tsuchida, 8k-ary Grid Graph Models of Tabular Forms, Lecture Notes in Computer Science 8373 (Specification, Algebra and Software 2014), [10] Taiyou Kikuchi, Koichi Anada, Shinji Koka, Youzou Miyadera, Takeo Yaku, A data structure for triangular dissection of multi-resolution images, Proc. 15th IEEE/ACIS International Conference on SNPD, 2014, Fig. 8. Excution example for the algorithm viewablexml_to_html XSLT program 42

2 Multi-layer rectangular dissections and hexadecimal grids. 1 Introduction

2 Multi-layer rectangular dissections and hexadecimal grids. 1 Introduction Koichi Anada Waseda Research Institute for Science and Engineering Waseda University Ken Yokota College of Humanities and Sciences Nihon University Koushi Anzai epartment Economics Kanto Gakuen University

More information

Style Sheet A. Bellaachia Page: 22

Style Sheet A. Bellaachia Page: 22 Style Sheet How to render the content of an XML document on a page? Two mechanisms: CSS: Cascading Style Sheets XSL (the extensible Style sheet Language) CSS Definitions: CSS: Cascading Style Sheets Simple

More information

XML and XSLT. XML and XSLT 10 February

XML and XSLT. XML and XSLT 10 February XML and XSLT XML (Extensible Markup Language) has the following features. Not used to generate layout but to describe data. Uses tags to describe different items just as HTML, No predefined tags, just

More information

Tutorial 5 Working with Tables and Columns. HTML and CSS 6 TH EDITION

Tutorial 5 Working with Tables and Columns. HTML and CSS 6 TH EDITION Tutorial 5 Working with Tables and Columns HTML and CSS 6 TH EDITION Objectives Explore the structure of a Web table Create headings and cells in a table Create cells that span multiple rows and columns

More information

Tables *Note: Nothing in Volcano!*

Tables *Note: Nothing in Volcano!* Tables *Note: Nothing in Volcano!* 016 1 Learning Objectives After this lesson you will be able to Design a web page table with rows and columns of text in a grid display Write the HTML for integrated

More information

Author: Irena Holubová Lecturer: Martin Svoboda

Author: Irena Holubová Lecturer: Martin Svoboda NPRG036 XML Technologies Lecture 6 XSLT 9. 4. 2018 Author: Irena Holubová Lecturer: Martin Svoboda http://www.ksi.mff.cuni.cz/~svoboda/courses/172-nprg036/ Lecture Outline XSLT Principles Templates Instructions

More information

XSL Languages. Adding styles to HTML elements are simple. Telling a browser to display an element in a special font or color, is easy with CSS.

XSL Languages. Adding styles to HTML elements are simple. Telling a browser to display an element in a special font or color, is easy with CSS. XSL Languages It started with XSL and ended up with XSLT, XPath, and XSL-FO. It Started with XSL XSL stands for EXtensible Stylesheet Language. The World Wide Web Consortium (W3C) started to develop XSL

More information

COP 4814 Florida International University Kip Irvine XSLT. Updated: 2/9/2016 Based on Goldberg, Chapter 2. Irvine COP 4814

COP 4814 Florida International University Kip Irvine XSLT. Updated: 2/9/2016 Based on Goldberg, Chapter 2. Irvine COP 4814 COP 4814 Florida International University Kip Irvine XSLT Updated: 2/9/2016 Based on Goldberg, Chapter 2 XSL Overview XSL Extensible Stylesheet Language A family of languages used to transform and render

More information

Semi-structured Data 11 - XSLT

Semi-structured Data 11 - XSLT Semi-structured Data 11 - XSLT Andreas Pieris and Wolfgang Fischl, Summer Term 2016 Outline What is XSLT? XSLT at First Glance XSLT Templates Creating Output Further Features What is XSLT? XSL = extensible

More information

Chapter 4 Creating Tables in a Web Site Using an External Style Sheet

Chapter 4 Creating Tables in a Web Site Using an External Style Sheet Chapter 4 Creating Tables in a Web Site Using an External Style Sheet MULTIPLE RESPONSE Modified Multiple Choice 1. Attributes are set relative to the elements in a table. a. line c. row b. column d. cell

More information

Display the XML Files for Disclosure to Public by Using User-defined XSL Zhiping Yan, BeiGene, Beijing, China Huadan Li, BeiGene, Beijing, China

Display the XML Files for Disclosure to Public by Using User-defined XSL Zhiping Yan, BeiGene, Beijing, China Huadan Li, BeiGene, Beijing, China PharmaSUG China 2018 Paper CD-72 Display the XML Files for Disclosure to Public by Using User-defined XSL Zhiping Yan, BeiGene, Beijing, China Huadan Li, BeiGene, Beijing, China ABSTRACT US Food and Drug

More information

Extensible Markup Stylesheet Transformation (XSLT)

Extensible Markup Stylesheet Transformation (XSLT) Extensible Markup Stylesheet Transformation (XSLT) Asst. Prof. Dr. Kanda Runapongsa Saikaew (krunapon@kku.ac.th) Dept. of Computer Engineering Khon Kaen University 1 Overview Terms: XSL, XSLT, XSL-FO Value

More information

XML. Objectives. Duration. Audience. Pre-Requisites

XML. Objectives. Duration. Audience. Pre-Requisites XML XML - extensible Markup Language is a family of standardized data formats. XML is used for data transmission and storage. Common applications of XML include business to business transactions, web services

More information

Computer Science E-259

Computer Science E-259 Computer Science E-259 XML with Java Lecture 5: XPath 1.0 (and 2.0) and XSLT 1.0 (and 2.0), Continued 22 October 2007 David J. Malan malan@post.harvard.edu 1 Computer Science E-259 Last Time CSS Level

More information

COMSC-030 Web Site Development- Part 1. Part-Time Instructor: Joenil Mistal

COMSC-030 Web Site Development- Part 1. Part-Time Instructor: Joenil Mistal COMSC-030 Web Site Development- Part 1 Part-Time Instructor: Joenil Mistal Chapter 9 9 Working with Tables Are you looking for a method to organize data on a page? Need a way to control our page layout?

More information

XSL Concepts: Conditions and Loops. Robert Kiffe, Senior Web Developer OmniUpdate, Inc.

XSL Concepts: Conditions and Loops. Robert Kiffe, Senior Web Developer OmniUpdate, Inc. XSL Concepts: Conditions and Loops Robert Kiffe, Senior Web Developer OmniUpdate, Inc. Quick XSL Recap Conditional Statements If Choose XPath Conditional Loops For-Each For-Each-Group Apply-Templates Activities!

More information

EXAM XML 1.1 and Related Technologies TYPE: DEMO

EXAM XML 1.1 and Related Technologies TYPE: DEMO IBM EXAM - 000-142 XML 1.1 and Related Technologies TYPE: DEMO http://www.examskey.com/000-142.html 1 Question: 1 XML data is stored and retrieved within a relational database for a data-centric application

More information

Chapter 4 Notes. Creating Tables in a Website

Chapter 4 Notes. Creating Tables in a Website Chapter 4 Notes Creating Tables in a Website Project for Chapter 4 Statewide Realty Web Site Chapter Objectives Define table elements Describe the steps used to plan, design, and code a table Create a

More information

XSLT: How Do We Use It?

XSLT: How Do We Use It? XSLT: How Do We Use It? Nancy Hallberg Nikki Massaro Kauffman 1 XSLT: Agenda Introduction & Terminology XSLT Walkthrough Client-Side XSLT/XHTML Server-Side XSLT/XHTML More Creative Server-Side XSLT 2 XSLT:

More information

XSLT (part I) Mario Alviano A.Y. 2017/2018. University of Calabria, Italy 1 / 22

XSLT (part I) Mario Alviano A.Y. 2017/2018. University of Calabria, Italy 1 / 22 1 / 22 XSLT (part I) Mario Alviano University of Calabria, Italy A.Y. 2017/2018 Outline 2 / 22 1 Introduction 2 Templates 3 Attributes 4 Copy of elements 5 Exercises 4 / 22 What is XSLT? XSLT is a (Turing

More information

A Guide for Designing Your Own Dyamic SiteMason Templates. Creating. SiteMason Templates

A Guide for Designing Your Own Dyamic SiteMason Templates. Creating. SiteMason Templates A Guide for Designing Your Own Dyamic SiteMason Templates Creating SiteMason Templates 2 Creating SiteMason Templates (c) 2003 Monster Labs, Inc. Current Version: February 6, 2003 Manual Version 1.0 3

More information

Web Development & Design Foundations with HTML5

Web Development & Design Foundations with HTML5 1 Web Development & Design Foundations with HTML5 CHAPTER 8 TABLES 2 Learning Outcomes In this chapter, you will learn how to... Create a basic table with the table, table row, table header, and table

More information

XSLT Programming Constructs

XSLT Programming Constructs XSLT Programming Constructs Contents 1. Procedural programming in XSLT 2. Defining named template rules 3. Parameterizing XSLT style sheets 2 1. Procedural Programming in XSLT Declarative vs. procedural

More information

XML Wrap-up. CS 431 March 1, 2006 Carl Lagoze Cornell University

XML Wrap-up. CS 431 March 1, 2006 Carl Lagoze Cornell University XML Wrap-up CS 431 March 1, 2006 Carl Lagoze Cornell University XSLT Processing Model Input XSL doc parse Input XML doc parse Parsed tree serialize Input XML doc Parsed tree Xformed tree Output doc (xml,

More information

Lecture 08. Tables in HTML. Mr. Mubashir Ali Lecturer (Dept. of Computer Science)

Lecture 08. Tables in HTML. Mr. Mubashir Ali Lecturer (Dept. of Computer Science) Lecture 08 Tables in HTML Mr. Mubashir Ali Lecturer (Dept. of dr.mubashirali1@gmail.com 1 Summary of the previous lecture Adding images to web page Using images as links Image map Adding audio and video

More information

Excel to XML v3. Compatibility Switch 13 update 1 and higher. Windows or Mac OSX.

Excel to XML v3. Compatibility Switch 13 update 1 and higher. Windows or Mac OSX. App documentation Page 1/5 Excel to XML v3 Description Excel to XML will let you submit an Excel file in the format.xlsx to a Switch flow where it will be converted to XML and/or metadata sets. It will

More information

Excel to XML v4. Version adds two Private Data sets

Excel to XML v4. Version adds two Private Data sets Excel to XML v4 Page 1/6 Excel to XML v4 Description Excel to XML will let you submit an Excel file in the format.xlsx to a Switch flow were it will be converted to XML and/or metadata sets. It will accept

More information

XPath and XSLT. Overview. Context. Context The Basics of XPath. XPath and XSLT. Nodes Axes Expressions. Stylesheet templates Transformations

XPath and XSLT. Overview. Context. Context The Basics of XPath. XPath and XSLT. Nodes Axes Expressions. Stylesheet templates Transformations XPath and XSLT Michael B. Spring Department of Information Science and Telecommunications University of Pittsburgh spring@imap.pitt.edu http://www.sis.pitt.edu/~spring Context The Basics of XPath Nodes

More information

XSL Elements. xsl:copy-of

XSL Elements. xsl:copy-of XSL Elements The following elements are discussed on this page: xsl:copy-of xsl:value-of xsl:variable xsl:param xsl:if xsl:when xsl:otherwise xsl:comment xsl:import xsl:output xsl:template xsl:call-template

More information

Custom Tables with the LandXML Report Extension David Zavislan, P.E.

Custom Tables with the LandXML Report Extension David Zavislan, P.E. December 2-5, 2003 MGM Grand Hotel Las Vegas Custom Tables with the LandXML Report Extension David Zavislan, P.E. CV41-2 Learn some basic concepts of LandXML and the extensible Stylesheet Language (XSL)

More information

Introduction to XSLT. Version 1.0 July nikos dimitrakas

Introduction to XSLT. Version 1.0 July nikos dimitrakas Introduction to XSLT Version 1.0 July 2011 nikos dimitrakas Table of contents 1 INTRODUCTION... 3 1.1 XSLT... 3 1.2 PREREQUISITES... 3 1.3 STRUCTURE... 3 2 SAMPLE DATA... 4 3 XSLT... 6 4 EXAMPLES... 7

More information

Exam : Title : XML 1.1 and Related Technologies. Version : DEMO

Exam : Title : XML 1.1 and Related Technologies. Version : DEMO Exam : 000-142 Title : XML 1.1 and Related Technologies Version : DEMO 1. XML data is stored and retrieved within a relational database for a data-centric application by means of mapping XML schema elements

More information

Burrows & Langford Appendix D page 1 Learning Programming Using VISUAL BASIC.NET

Burrows & Langford Appendix D page 1 Learning Programming Using VISUAL BASIC.NET Burrows & Langford Appendix D page 1 APPENDIX D XSLT XSLT is a programming language defined by the World Wide Web Consortium, W3C (http://www.w3.org/tr/xslt), that provides the mechanism to transform a

More information

An XML Viewer for Tabular Forms for use with Mechanical Documentation

An XML Viewer for Tabular Forms for use with Mechanical Documentation An XML Viewer for Tabular Forms for use with Mechanical Documentation Osamu Inoue and Kensei Tsuchida Dept. Information & Computer Sciences Toyo University 2100, Kujirai, Kawagoe Saitama, 350-8585, Japan

More information

IMY 110 Theme 7 HTML Tables

IMY 110 Theme 7 HTML Tables IMY 110 Theme 7 HTML Tables 1. HTML Tables 1.1. Tables The HTML table model allows authors to arrange data into rows and columns of cells, just as in word processing software such as Microsoft Word. It

More information

The main Topics in this lecture are:

The main Topics in this lecture are: Lecture 15: Working with Extensible Markup Language (XML) The main Topics in this lecture are: - Brief introduction to XML - Some advantages of XML - XML Structure: elements, attributes, entities - What

More information

Introduction to XSLT

Introduction to XSLT Introduction to XSLT Justin Tilton, Chief Executive Officer instructional media + magic, inc. at the JA-SIG Conference Vancouver, BC Sunday, June 9, 2002 The Abstract Looking for a methodology to quickly

More information

info-h-509 xml technologies Lecture 5: XSLT Stijn Vansummeren February 14, 2017

info-h-509 xml technologies Lecture 5: XSLT Stijn Vansummeren February 14, 2017 info-h-509 xml technologies Lecture 5: XSLT Stijn Vansummeren February 14, 2017 lecture outline 1 How XML may be rendered in Web Browsers 2 Syntax and Semantics of XSLT 3 How XPath is used in XSLT 1 our

More information

AFew existing languages transforming XML data into

AFew existing languages transforming XML data into A formatting method for transforming XML data into HTML Zhe JIN, and Motomichi TOYAMA, Member, IEEE Abstract In this, we propose a fixed formatting method of PPX(Pretty Printer for XML). PPX is a query

More information

Sample Text Point Instruction

Sample Text Point Instruction TSMAD29/DIPWG7 11.11B Paper for Consideration by TSMAD/DIPWG Potential Adjustments to S-100 Part 9 Portrayal - Text Styles. Submitted by: CARIS Executive Summary: This paper discusses the introduction

More information

4. Unit: Transforming XML with XSLT

4. Unit: Transforming XML with XSLT Semistructured Data and XML 38 4. Unit: Transforming XML with XSLT Exercise 4.1 (XML to HTML) Write an XSLT routine that outputs the following country data for all countries with more than 1000000inhabitants

More information

XSLT. Announcements (October 24) XSLT. CPS 116 Introduction to Database Systems. Homework #3 due next Tuesday Project milestone #2 due November 9

XSLT. Announcements (October 24) XSLT. CPS 116 Introduction to Database Systems. Homework #3 due next Tuesday Project milestone #2 due November 9 XSLT CPS 116 Introduction to Database Systems Announcements (October 24) 2 Homework #3 due next Tuesday Project milestone #2 due November 9 XSLT 3 XML-to-XML rule-based transformation language Used most

More information

Dreamweaver CS3 Concepts and Techniques

Dreamweaver CS3 Concepts and Techniques Dreamweaver CS3 Concepts and Techniques Chapter 3 Tables and Page Layout Part 1 Other pages will be inserted in the website Hierarchical structure shown in page DW206 Chapter 3: Tables and Page Layout

More information

1. Please, please, please look at the style sheets job aid that I sent to you some time ago in conjunction with this document.

1. Please, please, please look at the style sheets job aid that I sent to you some time ago in conjunction with this document. 1. Please, please, please look at the style sheets job aid that I sent to you some time ago in conjunction with this document. 2. W3Schools has a lovely html tutorial here (it s worth the time): http://www.w3schools.com/html/default.asp

More information

Querying transformed XML documents: Determining a sufficient fragment of the original document

Querying transformed XML documents: Determining a sufficient fragment of the original document Querying transformed XML documents: Determining a sufficient fragment of the original document Sven Groppe, Stefan Böttcher University of Paderborn Faculty 5 (Computer Science, Electrical Engineering &

More information

Web Services Week 3. Fall Emrullah SONUÇ. Department of Computer Engineering Karabuk University

Web Services Week 3. Fall Emrullah SONUÇ. Department of Computer Engineering Karabuk University Web Services Week 3 Emrullah SONUÇ Department of Computer Engineering Karabuk University Fall 2017 1 Recap XML, Writing XML Rules for Writing XML Elements, Attributes, and Values XSL, XSLT 2 Contents Homework

More information

<?xml version = 1.0 encoding= windows-874?> <?xml-stylesheet type= text/css href= #xmldocs?> <style id= xmldocs > element-name{ } </style>

<?xml version = 1.0 encoding= windows-874?> <?xml-stylesheet type= text/css href= #xmldocs?> <style id= xmldocs > element-name{ } </style> XML Displaying Displaying XML: CSS A modern web browser and a cascading style sheet (CSS) may be used to view XML as if it were HTML A style must be defined for every XML tag, or the browser displays it

More information

Registering Search Interface to SAS Content as Google OneBox Module

Registering Search Interface to SAS Content as Google OneBox Module Registering Search Interface to SAS Content as Google OneBox Module Search Interface to SAS Content supports two kinds of search results: Reports search supports searching of SAS BI Dashboard 4.3 (and

More information

Advanced XSLT editing: Content query web part (CQWP) Dolev Raz SharePoint top soft Soft.co.il

Advanced XSLT editing: Content query web part (CQWP) Dolev Raz SharePoint top soft Soft.co.il Advanced XSLT editing: Content query web part (CQWP) Dolev Raz SharePoint Implementer @ top soft dolev_r@top- Soft.co.il About Me Dolev Raz 22 years-old Live in Qiriyat Ono Works in Logic trough Top Soft

More information

Html basics Course Outline

Html basics Course Outline Html basics Course Outline Description Learn the essential skills you will need to create your web pages with HTML. Topics include: adding text any hyperlinks, images and backgrounds, lists, tables, and

More information

4. Unit: Transforming XML with XSLT

4. Unit: Transforming XML with XSLT Semistructured Data and XML 28 4. Unit: Transforming XML with XSLT Exercise 4.1 (XML to HTML) Write an XSLT routine performing the following task: Map the following country data for each country to an

More information

COMS 359: Interactive Media

COMS 359: Interactive Media COMS 359: Interactive Media Agenda Review Web Design Preview Review Tables Create html spreadsheets Page Layout Review Table Tags Numerous Attributes = border,

More information

XSLT is... XML XSLT XSL-FO XPath

XSLT is... XML XSLT XSL-FO XPath XSLT XSLT is... XML XSLT XSL-FO XPath Назначение XSLT XML XML Назначение XSLT XML HTML Сервер Браузер Назначение XSLT XML HTML Сервер Браузер Declaration

More information

ITNP43: HTML Lecture 3

ITNP43: HTML Lecture 3 ITNP43: HTML Lecture 3 Niederst, Chapts 10, 11, 13 (3rd edn) 1 HTML So Far... Structural tags , , Text formatting , etc Element attributes e.g. Inline images

More information

PlantVisorPRO Plant supervision

PlantVisorPRO Plant supervision PlantVisorPRO Plant supervision Software Development Kit ver. 2.0 Integrated Control Solutions & Energy Savings 2 Contents 1. Key... 5 2. Context... 5 3. File Structure... 6 4. Log Structure and error

More information

Page Layout Using Tables

Page Layout Using Tables This section describes various options for page layout using tables. Page Layout Using Tables Introduction HTML was originally designed to layout basic office documents such as memos and business reports,

More information

Greenstone 3 Interface Transformations Library: Basic Documentation

Greenstone 3 Interface Transformations Library: Basic Documentation Greenstone 3 Interface Transformations Library: Basic Documentation 1. Introduction Greenstone 3 has the flexibility of using XSLT to display the web interface using transformations. It is a great tool

More information

6/6/2016 3:23 PM 1 of 15

6/6/2016 3:23 PM 1 of 15 6/6/2016 3:23 PM 1 of 15 6/6/2016 3:23 PM 2 of 15 2) XSLT Selection XSLT allows for selection with two statements xsl:if chooses to do or not to do (very basic) xsl:choose chooses from several alternatives

More information

Semantic Web. XSLT: XML Transformation. Morteza Amini. Sharif University of Technology Fall 95-96

Semantic Web. XSLT: XML Transformation. Morteza Amini. Sharif University of Technology Fall 95-96 ه عا ی Semantic Web XSLT: XML Transformation Morteza Amini Sharif University of Technology Fall 95-96 Outline Fundamentals of XSLT XPath extensible Stylesheet Language Cocoon 2 XSLT XSLT stands for extensible

More information

Presentation 19: XML technologies part 2: XSL, XSLT, XSL-FO, XPath & XML Programming

Presentation 19: XML technologies part 2: XSL, XSLT, XSL-FO, XPath & XML Programming Presentation 19: XML technologies part 2: XSL, XSLT, XSL-FO, XPath & XML Programming Outline XML recap Formatting CSS or XSL? XPath XSL/XSLT XSL-FO XML Programming Slide 2 XML markup recap XML based on

More information

Manipulating XML Trees XPath and XSLT. CS 431 February 18, 2008 Carl Lagoze Cornell University

Manipulating XML Trees XPath and XSLT. CS 431 February 18, 2008 Carl Lagoze Cornell University Manipulating XML Trees XPath and XSLT CS 431 February 18, 2008 Carl Lagoze Cornell University XPath Language for addressing parts of an XML document XSLT Xpointer XQuery Tree model based on DOM W3C Recommendation

More information

<xsl:apply-templates select="atom:entry/atom:content"/> <xsl:copy-of xmlns:xsl="http://www.w3.org/1999/xsl/transform"/>

<xsl:apply-templates select=atom:entry/atom:content/> <xsl:copy-of xmlns:xsl=http://www.w3.org/1999/xsl/transform/> Split one of your gravestone XSL stylesheets into two parts, one with templates about persons, the other with templates about inscriptions. Have a third template which pulls them together, using .

More information

XPath and XSLT without the pain!

XPath and XSLT without the pain! XPath and XSLT without the pain! Bertrand Delacrétaz ApacheCon EU 2007, Amsterdam bdelacretaz@apache.org www.codeconsult.ch slides revision: 2007-05-04 Goal Learning to learn XPath and XSLT because it

More information

INTERNET & WEB APPLICATION DEVELOPMENT SWE 444. Fall Semester (081) Module 4 (III): XSL

INTERNET & WEB APPLICATION DEVELOPMENT SWE 444. Fall Semester (081) Module 4 (III): XSL INTERNET & WEB APPLICATION DEVELOPMENT SWE 444 Fall Semester 2008-2009 (081) Module 4 (III): XSL Dr. El-Sayed El-Alfy Computer Science Department King Fahd University of Petroleum and Minerals alfy@kfupm.edu.sa

More information

XSLT program. XSLT elements. XSLT example. An XSLT program is an XML document containing

XSLT program. XSLT elements. XSLT example. An XSLT program is an XML document containing XSLT CPS 216 Advanced Database Systems Announcements (March 24) 2 Homework #3 will be assigned next Tuesday Reading assignment due next Wednesday XML processing in Lore (VLDB 1999) and Niagara (VLDB 2003)

More information

Integrating Search Interface to SAS Content 3.4

Integrating Search Interface to SAS Content 3.4 Integrating Search Interface to SAS Content 3.4 Copyright Notice The correct bibliographic citation for this manual is as follows: SAS Institute Inc., Integrating Search Interface to SAS Content 3.4, Cary,

More information

Introduction to XSLT

Introduction to XSLT Introduction to XSLT Justin Tilton, Chief Executive Officer instructional media + magic, inc. at the JA-SIG Conference Destin, Florida December 2, 2001 The Abstract Looking for a methodology to quickly

More information

1. Documenting your project using the Eclipse help system

1. Documenting your project using the Eclipse help system 1. Documenting your project using the Eclipse help system Build easy-to-use and searchable help documentation Arthur Barr, Software engineer, IBM Summary: The Eclipse Platform, which provides a very powerful

More information

8/1/2016. XSL stands for EXtensible Stylesheet Language. CSS = Style Sheets for HTML XSL = Style Sheets for XML. XSL consists of four parts:

8/1/2016. XSL stands for EXtensible Stylesheet Language. CSS = Style Sheets for HTML XSL = Style Sheets for XML. XSL consists of four parts: XSL stands for EXtensible Stylesheet Language. CSS = Style Sheets for HTML XSL = Style Sheets for XML http://www.w3schools.com/xsl/ kasunkosala@yahoo.com 1 2 XSL consists of four parts: XSLT - a language

More information

XSL Transformation (XSLT) XSLT Processors. Example XSLT Stylesheet. Calling XSLT Processor. XSLT Structure

XSL Transformation (XSLT) XSLT Processors. Example XSLT Stylesheet. Calling XSLT Processor. XSLT Structure Transformation (T) SOURCE The very best of Cat Stevens UK 8.90 1990 Empire Burlesque Bob

More information

Lars Schmidt-Thieme, Information Systems and Machine Learning Lab (ISMLL), University of Hildesheim, Germany, Course on XML and Semantic Web

Lars Schmidt-Thieme, Information Systems and Machine Learning Lab (ISMLL), University of Hildesheim, Germany, Course on XML and Semantic Web Course on XML and Semantic Web Technologies, summer term 2012 0/44 XML and Semantic Web Technologies XML and Semantic Web Technologies I. XML / 5. XML Stylesheet Language Transformations (XSLT) Lars Schmidt-Thieme

More information

XML and Databases. Lecture 11 XSLT Stylesheets and Transforms. Sebastian Maneth NICTA and UNSW

XML and Databases. Lecture 11 XSLT Stylesheets and Transforms. Sebastian Maneth NICTA and UNSW XML and Databases Lecture 11 XSLT Stylesheets and Transforms Sebastian Maneth NICTA and UNSW CSE@UNSW -- Semester 1, 2010 Outline 1. extensible Stylesheet Language Transformations (XSLT) 2. Templates:

More information

HyperText Markup Language/Tables

HyperText Markup Language/Tables HyperText Markup Language/Tables 1 HyperText Markup Language/Tables Tables are used for presenting tabular data and abused for laying out pages. They can be inserted anywhere on the page, even within other

More information

Chapter 9 Table Basics Key Concepts. Copyright 2013 Terry Ann Morris, Ed.D

Chapter 9 Table Basics Key Concepts. Copyright 2013 Terry Ann Morris, Ed.D Chapter 9 Table Basics Key Concepts Copyright 2013 Terry Ann Morris, Ed.D 1 Learning Outcomes Describe the recommended use of a table on a web page Configure a basic table with the table, table row, table

More information

XML PRESENTATION OF DOCUMENTS

XML PRESENTATION OF DOCUMENTS Network Europe - Russia - Asia of Masters in Informatics as a Second Competence 159025-TEMPUS-1-2009-1-FR-TEMPUS-JPCR Sergio Luján Mora Department of Software and Computing Systems University of Alicante

More information

Birkbeck (University of London)

Birkbeck (University of London) Birkbeck (University of London) MSc Examination Department of Computer Science and Information Systems Internet and Web Technologies (COIY063H7) 15 Credits Date of Examination: 13 June 2017 Duration of

More information

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

PASS4TEST. IT Certification Guaranteed, The Easy Way!   We offer free update service for one year PASS4TEST IT Certification Guaranteed, The Easy Way! \ http://www.pass4test.com We offer free update service for one year Exam : 000-141 Title : XML and related technologies Vendors : IBM Version : DEMO

More information

INFS 2150 Introduction to Web Development

INFS 2150 Introduction to Web Development INFS 2150 Introduction to Web Development 3. Page Layout Design Objectives Create a reset style sheet Explore page layout designs Center a block element Create a floating element Clear a floating layout

More information

INFS 2150 Introduction to Web Development

INFS 2150 Introduction to Web Development Objectives INFS 2150 Introduction to Web Development 3. Page Layout Design Create a reset style sheet Explore page layout designs Center a block element Create a floating element Clear a floating layout

More information

Web Design and Application Development

Web Design and Application Development Yarmouk University Providing Fundamental ICT Skills for Syrian Refugees (PFISR) Web Design and Application Development Dr. Abdel-Karim Al-Tamimi altamimi@yu.edu.jo Lecture 04 A. Al-Tamimi 1 Lecture Overview

More information

Oracle Application Server 10g Oracle XML Developer s Kit Frequently Asked Questions September, 2005

Oracle Application Server 10g Oracle XML Developer s Kit Frequently Asked Questions September, 2005 Oracle Application Server 10g Oracle XML Developer s Kit Frequently Asked Questions September, 2005 This FAQ addresses frequently asked questions relating to the XML features of Oracle XML Developer's

More information

Lesson 15 Working with Tables

Lesson 15 Working with Tables Working with Tables Computer Literacy BASICS: A Comprehensive Guide to IC 3, 4 th Edition 1 Objectives Create a table and insert text. Insert and delete rows and columns. Adjust column width and row height.

More information

A Standard Framework for Database Development and Modeling of Energy Supply-demand System

A Standard Framework for Database Development and Modeling of Energy Supply-demand System A Standard Framework for Database Development and Modeling of Energy Supply-demand System Yukinobu Koyama 1,*, Tatsuzo Kawakami 2 and Tetsuo Tezuka 3 Graduate School of Energy Science, Kyoto University,

More information

Introduction to XSLT. Version 1.3 March nikos dimitrakas

Introduction to XSLT. Version 1.3 March nikos dimitrakas Introduction to XSLT Version 1.3 March 2018 nikos dimitrakas Table of contents 1 INTRODUCTION... 3 1.1 XSLT... 3 1.2 PREREQUISITES... 3 1.3 STRUCTURE... 3 2 SAMPLE DATA... 4 3 XSLT... 6 4 EXAMPLES... 7

More information

Chapter 0. HTML review

Chapter 0. HTML review ESCUELA TÉCNICA SUPERIOR DE INGENIERÍA ICAI Developing web-based applications Chapter 0. HTML review Cristina Puente, Rafael Palacios 2010-2011 HTTP (review) HTTP (Hyper-Text Transfer Protocol) is a communications

More information

The Transformation Language XSL

The Transformation Language XSL Chapter 8 The Transformation Language XSL 8.1 XSL: Extensible Stylesheet Language developed from CSS (Cascading Stylesheets) scripting language for transformation of data sources to HTML or any other optical

More information

Lesson 15 Working with Tables

Lesson 15 Working with Tables Working with Tables Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition 1 Objectives Create a table and insert text. Insert and delete rows and columns. Adjust column width and row height.

More information

Computer Science E-259

Computer Science E-259 Computer Science E-259 XML with Java Lecture 4: XPath 1.0 (and 2.0) and XSLT 1.0 (and 2.0) 21 February 2007 David J. Malan malan@post.harvard.edu 1 Computer Science E-259 Last Time DOM Level 3 JAXP 1.3

More information

XSLT Version 2.0 is Turing-Complete: A Purely Transformation Based Proof

XSLT Version 2.0 is Turing-Complete: A Purely Transformation Based Proof XSLT Version 2.0 is Turing-Complete: A Purely Transformation Based Proof Ruhsan Onder and Zeki Bayram Department of Computer Engineering/Internet Technologies Research Center Eastern Mediterranean University

More information

Bixby Public Schools Course Essential Elements Grade: Desktop Publishing

Bixby Public Schools Course Essential Elements Grade: Desktop Publishing Content Objective) applicable) Desktop Publishing Weeks 1-6 10-12 1. Create and edit a publication. 2. Design a newsletter. 3. Publish a tri-fold brochure 1-1 Start and quit Publisher 1-2 Describe the

More information

INFS 2150 Introduction to Web Development

INFS 2150 Introduction to Web Development INFS 2150 Introduction to Web Development 6. Tables and Columns Objectives Explore the structure of a web table Create table heading and data cells Apply CSS styles to a table Create cells that span multiple

More information

INFS 2150 Introduction to Web Development

INFS 2150 Introduction to Web Development INFS 2150 Introduction to Web Development 6. Tables and Columns Objectives Explore the structure of a web table Create table heading and data cells Apply CSS styles to a table Create cells that span multiple

More information

HTTP and HTML. We will use HTML as a frontend to our webapplications, therefore a basic knowledge of HTML is required, especially in forms.

HTTP and HTML. We will use HTML as a frontend to our webapplications, therefore a basic knowledge of HTML is required, especially in forms. HTTP and HTML We will use HTML as a frontend to our webapplications, therefore a basic knowledge of HTML is required, especially in forms. HTTP and HTML 28 January 2008 1 When the browser and the server

More information

CS Multimedia and Communications. Lab 06: Webpage Tables and Image Links (Website Design part 3 of 3)

CS Multimedia and Communications. Lab 06: Webpage Tables and Image Links (Website Design part 3 of 3) CS 1033 Multimedia and Communications Lab 06: Webpage Tables and Image Links (Website Design part 3 of 3) REMEMBER TO BRING YOUR MEMORY STICK TO EVERY LAB! Table Properties Reference Guide The Property

More information

OPEN Replication Architecture

OPEN Replication Architecture OPEN Replication Architecture May 12, 2016 Who is NTI? - 25+ year old Privately Held Company - Inventors of NonStop Data Protection for the NonStop - Development and Support Offices in USA and Ireland

More information

Section A: Multiple Choice

Section A: Multiple Choice Section A: Multiple Choice Question 1 Each item has only one correct answer. Two marks for each correct answer, zero marks for each incorrect answer. Use the supplied sheet to record a single response

More information

ABOUT WEB TECHNOLOGY COURSE SCOPE:

ABOUT WEB TECHNOLOGY COURSE SCOPE: ABOUT WEB TECHNOLOGY COURSE SCOPE: The booming IT business across the globe, the web has become one in every of the foremost necessary suggests that of communication nowadays and websites are the lifelines

More information

XML and Databases XSLT Stylesheets and Transforms

XML and Databases XSLT Stylesheets and Transforms XML and Databases XSLT Stylesheets and Transforms Kim.Nguyen@nicta.com.au Lecture 11 1 / 38 extensible Stylesheet Language Transformations Outline 1 extensible Stylesheet Language Transformations 2 Templates

More information

c122sep2214.notebook September 22, 2014

c122sep2214.notebook September 22, 2014 This is using the border attribute next we will look at doing the same thing with CSS. 1 Validating the page we just saw. 2 This is a warning that recommends I use CSS. 3 This caused a warning. 4 Now I

More information

XSLT. Lecture 38. Robb T. Koether. Mon, Apr 21, Hampden-Sydney College. Robb T. Koether (Hampden-Sydney College) XSLT Mon, Apr 21, / 26

XSLT. Lecture 38. Robb T. Koether. Mon, Apr 21, Hampden-Sydney College. Robb T. Koether (Hampden-Sydney College) XSLT Mon, Apr 21, / 26 XSLT Lecture 38 Robb T. Koether Hampden-Sydney College Mon, Apr 21, 2014 Robb T. Koether (Hampden-Sydney College) XSLT Mon, Apr 21, 2014 1 / 26 1 XSLT 2 Running XSLT 3 XSLT Files 4 Output Modes 5 XSLT

More information