PDF by Renderx, XML File, HTML (One Large File), ZIP File)

Total Page:16

File Type:pdf, Size:1020Kb

PDF by Renderx, XML File, HTML (One Large File), ZIP File) Extensible Stylesheet Language (XSL) Version 1.0 W3C Working Draft 18 October 2000 This version: http://www.w3.org/TR/2000/WD-xsl-20001018/ (PDF by RenderX, XML file, HTML (one large file), ZIP file) Latest version: http://www.w3.org/TR/xsl/ Previous version: http://www.w3.org/TR/2000/WD-xsl-20000327 Authors and Contributors: Sharon Adler (IBM) <[email protected]> Anders Berglund (IBM) <[email protected]> Jeff Caruso (Pageflex) <[email protected]> Stephen Deach (Adobe) <[email protected]> Paul Grosso (ArborText) <[email protected]> Eduardo Gutentag (Sun) <[email protected]> Alex Milowski (Lexica) <[email protected]> Scott Parnell (Xerox) <[email protected]> Jeremy Richman (BroadVision) <[email protected]> Steve Zilles (Adobe) <[email protected]> Copyright © 1999 W3C (MIT, INRIA, Keio), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply. Extensible Stylesheet Language (XSL) (xsl-20001018) ii Abstract XSL is a language for expressing stylesheets. It consists of two parts: 1. a language for transforming XML documents, and 2. an XML vocabulary for specifying formatting semantics. An XSL stylesheet specifies the presentation of a class of XML documents by describing how an instance of the class is transformed into an XML document that uses the formatting vocabulary. Status of this document This is a W3C Working Draft for review by W3C members and other interested parties. This working draft incorporates the proposed resolution of the issues raised during Last Call. The Working Group intends to submit a revised version of this specification for publication as a Candidate Recommendation in the near future. We are issuing this interim public draft as it sets out a number of changes made in response to comments received on the Last Call draft. Items under consideration for change for Candidate Recommendation include the name of the font-height-override-before and font-height-override-after properties. Please send detailed comments to [email protected]; archives of the comments are available. More general public discussion of XSL takes place on the XSL-List mailing list. It is a draft document and may be updated, replaced, or obsoleted by other documents at any time. The XSL Working Group will not allow early implementation to constrain its ability to make changes to this specification prior to final release. It is inappropriate to use W3C Working Drafts as reference material or to cite them as other than “work in progress”. A list of current W3C working drafts can be found at http://www.w3.org/TR. This document has been produced as part of the W3C Style Activity by the XSL Working Group (members only). W3C Working Draft Extensible Stylesheet Language (XSL) (xsl-20001018) iii Table of Contents 1. Introduction and Overview 1 1.1. Processing a Stylesheet 1 1.1.1. Tree Transformations 2 1.1.2. Formatting 2 1.2. Benefits of XSL 5 1.2.1. Paging and Scrolling 6 1.2.2. Selectors and Tree Construction 7 1.2.3. An Extended Page Layout Model 7 1.2.4. A Comprehensive Area Model 7 1.2.5. Internationalization and Writing-Modes 7 1.2.6. Linking 8 2. Introduction to XSL Transformation 8 2.1. Tree Construction 8 2.2. XSL Namespace 9 3. Introduction to Formatting 9 3.1. Conceptual Procedure 10 4. Area Model 11 4.1. Introduction 11 4.2. Rectangular Areas 13 4.2.1. Area Types 13 4.2.2. Common Traits 13 4.2.3. Geometric Definitions 14 4.2.4. Tree Ordering 16 4.2.5. Stacking Constraints 17 4.2.6. Font Baseline Tables 22 4.3. Spaces and Conditionality 22 4.3.1. Space-resolution Rules 23 4.4. Block-areas 23 4.4.1. Stacked Block-areas 24 4.4.2. Intrusion Adjustments 25 4.5. Line-areas 26 4.6. Inline-areas 27 4.6.1. Stacked Inline-areas 27 4.6.2. Glyph-areas 28 4.7. Ordering Constraints 28 4.7.1. General Ordering Constraints 28 4.7.2. Line-building 28 4.7.3. Inline-building 29 4.8. Keeps and Breaks 29 4.9. Rendering Model 30 4.9.1. Geometry 30 W3C Working Draft Extensible Stylesheet Language (XSL) (xsl-20001018) iv 4.9.2. Viewport Geometry 31 4.9.3. Visibility 31 4.9.4. Border, Padding, and Background 31 4.9.5. Intrinsic Marks 32 4.9.6. Layering and Conflict of Marks 32 4.10. Sample Area Tree 33 4.11. List of Traits on Areas 33 5. Property Refinement / Resolution 34 5.1. Specified, Computed, and Actual Values, and Inheritance 35 5.1.1. Specified Values 35 5.1.2. Computed Values 35 5.1.3. Actual Values 36 5.1.4. Inheritance 36 5.2. Shorthand Expansion 36 5.3. Computing the Values of Corresponding Properties 37 5.3.1. Border and Padding Properties 37 5.3.2. Margin, Space, and Indent Properties 38 5.3.3. Height, and Width Properties 38 5.3.4. Overconstrained Geometry 40 5.4. Simple Property to Trait Mapping 40 5.4.1. Background-position-horizontal and background-position-vertical Properties 41 5.4.2. Column-number Property 41 5.4.3. Text-align Property 41 5.4.4. Text-align-last Property 41 5.4.5. z-index Property 41 5.5. Complex Property to Trait Mapping 41 5.5.1. Word-spacing and Letter-spacing Properties 41 5.5.2. Reference-orientation Property 41 5.5.3. Writing-mode and Direction Properties 42 5.5.4. Absolute-position Property 43 5.5.5. Relative-position Property 43 5.5.6. Text-decoration Property 43 5.5.7. Font Properties 43 5.6. Non-property Based Trait Generation 44 5.7. Property Based Transformations 44 5.7.1. Text-transform Property 44 5.8. Unicode Bidi Processing 44 5.9. Expressions 46 5.9.1. Property Context 46 5.9.2. Evaluation Order 47 5.9.3. Basics 47 5.9.4. Function Calls 47 5.9.5. Numerics 47 5.9.6. Absolute Numerics 49 5.9.7. Relative Numerics 49 5.9.7.1. Percents 49 W3C Working Draft Extensible Stylesheet Language (XSL) (xsl-20001018) v 5.9.7.2. Relative Lengths 49 5.9.8. Strings 49 5.9.9. Colors 50 5.9.10. Keywords 50 5.9.10.1. inherit 50 5.9.11. Lexical Structure 50 5.9.12. Expression Value Conversions 51 5.9.13. Definitions of Units of Measure 51 5.9.13.1. Pixels 52 5.10. Core Function Library 52 5.10.1. Number Functions 52 5.10.2. Color Functions 53 5.10.3. Font Functions 53 5.10.4. Property Value Functions 53 5.11. Property Datatypes 55 6. Formatting Objects 57 6.1. Introduction to Formatting Objects 57 6.1.1. Definitions Common to Many Formatting Objects 58 6.2. Formatting Object Content 59 6.3. Formatting Objects Summary 59 6.4. Declarations and Pagination and Layout Formatting Objects 64 6.4.1. Introduction 64 6.4.1.1. Page-sequence-masters 64 6.4.1.2. Page-masters 64 6.4.1.3. Page Generation 65 6.4.1.4. Flows and Flow Mapping 65 6.4.1.5. Constraints on Page Generation 66 6.4.1.6. Pagination Tree Structure 66 6.4.2. fo:root 67 6.4.3. fo:declarations 67 6.4.4. fo:color-profile 68 6.4.5. fo:page-sequence 68 6.4.6. fo:layout-master-set 69 6.4.7. fo:page-sequence-master 70 6.4.8. fo:single-page-master-reference 70 6.4.9. fo:repeatable-page-master-reference 71 6.4.10. fo:repeatable-page-master-alternatives 71 6.4.11. fo:conditional-page-master-reference 72 6.4.12. fo:simple-page-master 73 6.4.13. fo:region-body 77 6.4.14. fo:region-before 80 6.4.15. fo:region-after 81 6.4.16. fo:region-start 82 6.4.17. fo:region-end 83 6.4.18. fo:flow 84 6.4.19. fo:static-content 85 6.4.20. fo:title 85 W3C Working Draft Extensible Stylesheet Language (XSL) (xsl-20001018) vi 6.5. Block-level Formatting Objects 86 6.5.1. Introduction 86 6.5.1.1. Example 86 6.5.1.1.1. Chapter and Section Titles, Paragraphs 86 6.5.2. fo:block 88 6.5.3. fo:block-container 89 6.6. Inline-level Formatting Objects 90 6.6.1. Introduction 90 6.6.1.1. Examples 90 6.6.1.1.1. First Line of Paragraph in Small-caps 90 6.6.1.1.2. Figure with a Photograph 91 6.6.1.1.3. Page numbering and page number reference 91 6.6.2. fo:bidi-override 93 6.6.3. fo:character 93 6.6.4. fo:initial-property-set 95 6.6.5. fo:external-graphic 95 6.6.6. fo:instream-foreign-object 97 6.6.7. fo:inline 98 6.6.8. fo:inline-container 99 6.6.9. fo:leader 101 6.6.10. fo:page-number 102 6.6.11. fo:page-number-citation 103 6.7. Formatting Objects for Tables 104 6.7.1. Introduction 104 6.7.1.1. Examples 104 6.7.1.1.1. Simple Table with CALS Column-width Specifications 104 6.7.2. fo:table-and-caption 107 6.7.3. fo:table 108 6.7.4. fo:table-column 110 6.7.5. fo:table-caption 111 6.7.6. fo:table-header 112 6.7.7.
Recommended publications
  • Sigada 2001 Workshop Symbiosis4jun02 Pub.Fm
    SIGAda 2001 Workshop, “Creating a Symbiotic Relationship Between XML and Ada” Robert C. Leif Ada_Med, a Division of Newport Instruments 5648 Toyon Road, San Diego, CA 92115-1022, USA E-mail [email protected] www.newportinstruments.com www.Ada-Med.com +1 (619)582-0437 Abstract: The purpose of the workshop was to organize the Ada community to take advantage of the opportunity to create Ada applications that are operating systems independent because they are based on a web technology, XML, Extensible Markup Language. The commercial use of the Internet is the driving force behind XML. Four elements of XML, which together are sufficient to build a web application, and all employ the same syntax were described. These are XML; its schema; the Extensible Stylesheet Language, XSL; and the XML mechanism for forms, XForms. XML concerns the data objects that are included on the web page and their order of presentation. The schema contains the information on the types and objects for XML. Schemas are roughly equivalent to an Ada specification without the subprograms. Fortunately, the programing language that has the best fit with XML is Ada. XML has visibility and scoping rules, which are similar to Ada. XML has strong typing and has single inheritance similar to Ada. A mutually beneficial symbiosis requires the creation of applications in Ada that use and support XML, as well as, the use of XML to cre- ate Ada environments including XML based tools. These applications include: automated translation of Ada data types and objects in a specification to an XML schema; and conversely, automated translation of the data types and elements in an XML Schema to an Ada specification.
    [Show full text]
  • SDL Contenta S1000D and SDL Livecontent S1000D Cross-Product Graphics and Multimedia Support
    SDL Contenta S1000D and SDL LiveContent S1000D Cross-Product Graphics and Multimedia Support SDL Contenta S1000D and SDL LiveContent S1000D 5.9 December 2020 Legal notice Copyright and trademark information relating to this product release. Copyright © 2009–2020 SDL Group. SDL Group means SDL PLC. and its subsidiaries and affiliates. All intellectual property rights contained herein are the sole and exclusive rights of SDL Group. All references to SDL or SDL Group shall mean SDL PLC. and its subsidiaries and affiliates details of which can be obtained upon written request. All rights reserved. Unless explicitly stated otherwise, all intellectual property rights including those in copyright in the content of this website and documentation are owned by or controlled for these purposes by SDL Group. Except as otherwise expressly permitted hereunder or in accordance with copyright legislation, the content of this site, and/or the documentation may not be copied, reproduced, republished, downloaded, posted, broadcast or transmitted in any way without the express written permission of SDL. Contenta S1000D is a registered trademark of SDL Group. All other trademarks are the property of their respective owners. The names of other companies and products mentioned herein may be the trade- marks of their respective owners. Unless stated to the contrary, no association with any other company or product is intended or should be inferred. This product may include open source or similar third-party software, details of which can be found by clicking the following link: “Acknowledgments” on page 7. Although SDL Group takes all reasonable measures to provide accurate and comprehensive information about the product, this information is provided as-is and all warranties, conditions or other terms concerning the documentation whether express or implied by statute, common law or otherwise (including those relating to satisfactory quality and fitness for purposes) are excluded to the extent permitted by law.
    [Show full text]
  • XML: Looking at the Forest Instead of the Trees Guy Lapalme Professor Département D©Informatique Et De Recherche Opérationnelle Université De Montréal
    XML: Looking at the Forest Instead of the Trees Guy Lapalme Professor Département d©informatique et de recherche opérationnelle Université de Montréal C.P. 6128, Succ. Centre-Ville Montréal, Québec Canada H3C 3J7 [email protected] http://www.iro.umontreal.ca/~lapalme/ForestInsteadOfTheTrees/ Publication date April 14, 2019 XML to PDF by RenderX XEP XSL-FO Formatter, visit us at http://www.renderx.com/ XML: Looking at the Forest Instead of the Trees Guy Lapalme Professor Département d©informatique et de recherche opérationnelle Université de Montréal C.P. 6128, Succ. Centre-Ville Montréal, Québec Canada H3C 3J7 [email protected] http://www.iro.umontreal.ca/~lapalme/ForestInsteadOfTheTrees/ Publication date April 14, 2019 Abstract This tutorial gives a high-level overview of the main principles underlying some XML technologies: DTD, XML Schema, RELAX NG, Schematron, XPath, XSL stylesheets, Formatting Objects, DOM, SAX and StAX models of processing. They are presented from the point of view of the computer scientist, without the hype too often associated with them. We do not give a detailed description but we focus on the relations between the main ideas of XML and other computer language technologies. A single compact pretty-print example is used throughout the text to illustrate the processing of an XML structure with XML technologies or with Java programs. We also show how to create an XML document by programming in Java, in Ruby, in Python, in PHP, in E4X (Ecmascript for XML) and in Swift. The source code of the example XML ®les and the programs are available either at the companion web site of this document or by clicking on the ®le name within brackets at the start of the caption of each example.
    [Show full text]
  • SVG-Based Knowledge Visualization
    MASARYK UNIVERSITY FACULTY}w¡¢£¤¥¦§¨ OF I !"#$%&'()+,-./012345<yA|NFORMATICS SVG-based Knowledge Visualization DIPLOMA THESIS Miloš Kaláb Brno, spring 2012 Declaration Hereby I declare, that this paper is my original authorial work, which I have worked out by my own. All sources, references and literature used or excerpted during elaboration of this work are properly cited and listed in complete reference to the due source. Advisor: RNDr. Tomáš Gregar Ph.D. ii Acknowledgement I would like to thank RNDr. Tomáš Gregar Ph.D. for supervising the thesis. His opinions, comments and advising helped me a lot with accomplishing this work. I would also like to thank to Dr. Daniel Sonntag from DFKI GmbH. Saarbrücken, Germany, for the opportunity to work for him on the Medico project and for his supervising of the thesis during my erasmus exchange in Germany. Big thanks also to Jochen Setz from Dr. Sonntag’s team who worked on the server background used by my visualization. Last but not least, I would like to thank to my family and friends for being extraordinary supportive. iii Abstract The aim of this thesis is to analyze the visualization of semantic data and sug- gest an approach to general visualization into the SVG format. Afterwards, the approach is to be implemented in a visualizer allowing user to customize the visualization according to the nature of the data. The visualizer was integrated as an extension of Fresnel Editor. iv Keywords Semantic knowledge, SVG, Visualization, JavaScript, Java, XML, Fresnel, XSLT v Contents Introduction . .3 1 Brief Introduction to the Related Technologies ..........5 1.1 XML – Extensible Markup Language ..............5 1.1.1 XSLT – Extensible Stylesheet Lang.
    [Show full text]
  • Ditype User Guide
    DiType User Guide DiType User Guide http://mediawiki.renderx.com/index.php/DiType_User_Guide This Book Is Generated By WikiBooks2PDF using RenderX DiType, XML to PDF XSL-FO Formatter 28 August 2008 DiType User Guide Table of Contents 1. Preface.............................................................................7 What's in this Document? . 7 Prerequisites . .................7 Technical Support . ..............8 2. Overview...........................................................................9 Using DiType . ..................9 Individual User Book Creation . 10 Corporate Documentation System . 11 Mass Production of Documents . 12 Small Office/Home Office . 13 3. Installation.......................................................................15 Windows . .....................15 Mac OS X ................................................ ....................20 Unix/Linux . ...................26 4. Standard Applications..........................................................27 DiType Assistant . 27 What is the DiType Assistant? . 27 Opening the DiType Assistant . 28 Rendering an XML File using the DiType Assistant . 28 DiType Command Line . 31 Running DiType . 31 ditype Switches . 31 ditype Arguments . 33 ActiType . .....................33 Opening ActiType . 34 Formatting an XML or FO File using ActiType . 35 Stopping a Hot Folder . 39 - 3 - by , XML to PDF XSL-FO Formatter DiType User Guide Closing the Application . 40 Running ActiType in Console Mode . 40 Sharing ActiType . 41 5. Configuring DiType.............................................................43
    [Show full text]
  • Markup UK 2021 Proceedings
    2021 Proceedings A Conference about XML and Other Markup Technologies Markup UK 2021 Proceedings 2 Markup UK 2021 Proceedings 3 Markup UK 2021 Proceedings Markup UK Sister Conferences A Conference about XML and Other Markup Technologies https://markupuk.org/ Markup UK Conferences Limited is a limited company registered in England and Wales. Company registration number: 11623628 Registered address: 24 Trimworth Road, Folkestone, CT19 4EL, UK VAT Registration Number: 316 5241 25 Organisation Committee Geert Bormans Tomos Hillman Ari Nordström Andrew Sales Rebecca Shoob Markup UK 2021 Proceedings Programme Committee by B. Tommie Usdin, David Maus, Syd Bauman – Northeastern University Alain Couthures, Michael Kay, Erik Digital Scholarship Group Siegel, Debbie Lapeyre, Karin Bredenberg, Achim Berndzen – <xml-project /> Jaime Kaminski, Robin La Fontaine, Abel Braaksma – Abrasoft Nigel Whitaker, Steven Pemberton, Tony Peter Flynn – University College Cork Graham and Liam Quin Tony Graham – Antenna House Michael Kay – Saxonica The organisers of Markup UK would like to Jirka Kosek – University of Economics, thank Antenna House for their expert and Prague unstinting help in preparing and formatting Deborah A. Lapeyre – Mulberry the conference proceedings, and their Technologies generosity in providing licences to do so. David Maus – State and University Library Hamburg Antenna House Formatter is based on the Adam Retter – Evolved Binary W3C Recommendations for XSL-FO and B. Tommie Usdin – Mulberry Technologies CSS and has long been recognized as Norman Walsh – MarkLogic the most powerful and proven standards Lauren Wood – XML.com based formatting software available. It is used worldwide in demanding applications Thank You where the need is to format HTML and XML into PDF and print.
    [Show full text]
  • XSL Formatting Objects XSL Formatting Objects
    XSL Formatting Objects XSL Formatting Objects http://en.wikipedia.org/wiki/XSL_Formatting_Objects This Book Is Generated By WikiType using RenderX DiType, XML to PDF XSL-FO Formatter Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". 29 September 2008 XSL Formatting Objects Table of Contents 1. XSL Formatting Objects.........................................................4 XSL-FO basics. ...............4 XSL-FO language concepts. 6 XSL-FO document structure. 6 Capabilities of XSL-FO v1.0. 7 Multiple columns. ...........7 Lists.........................................................................8 Pagination controls. 8 Footnotes....................................................................8 Tables................................................ ........................8 Text orientation controls. 9 Miscellaneous...............................................................9 Capabilities of XSL-FO v1.1. 9 Multiple flows and flow mapping. 9 Bookmarks.................................................................10 Indexing....................................................................10 Last page citation. 10 Table markers. 10 Inside/outside floats. 10 Refined graphic sizing. 11 Advantages of XSL-FO. 11 Drawbacks
    [Show full text]
  • XSL-FO by Dave Pawson Publisher
    XSL-FO By Dave Pawson Publisher : O'Reilly Pub Date : August 2002 ISBN : 0-596-00355-2 Pages : 282 Table of • Contents • Index • Reviews Reader • Reviews Extensible Style Language-Formatting Objects, or XSL-FO, is a set of tools developers and web designers use to describe page printouts of their XML (including XHTML) documents. XSL-FO teaches you how to think about the formatting of your documents and guides you through the questions you'll need to ask to ensure that your printed documents meet the same high standards as your computer-generated content. 777 Copyright Preface Who Should Read This Book? What Does This Book Cover? Motivation Organization of This Book What Else Do You Need? Conventions Used in This Book How to Contact Us Acknowledgments Chapter 1. Planning for XSL-FO Section 1.1. XML and Document Processing Section 1.2. Choosing Your Print Production Approach Section 1.3. Choosing Tools Section 1.4. The Future for XSL-FO Chapter 2. A First Look at XSL-FO Section 2.1. An XSL-FO Overview Section 2.2. Related Stylesheet Specifications Section 2.3. Using XSL-FO as Part of XSL Section 2.4. Shorthand, Short Form, and Inheritance Chapter 3. Pagination Section 3.1. Document Classes Section 3.2. The Main Parts of an XSL-FO Document Section 3.3. Simple Page Master Section 3.4. Complex Pagination Section 3.5. Page Sequences Chapter 4. Areas Section 4.1. Informal Definition of an Area Section 4.2. Area Types Section 4.3. Components of an Area Section 4.4.
    [Show full text]
  • Session 7 - Main Theme XML Information Rendering (Part I)
    XML for Java Developers G22.3033-002 Session 7 - Main Theme XML Information Rendering (Part I) Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical Sciences 1 Agenda Summary of Previous Session Extensible Stylesheet Language Transformation (XSL-T) Extensible Stylesheet Language Formatting Object (XSL-FO) XML and Document/Content Management Introduction to XML Application Servers Working with XSLT-T and XSL-FO Processors Assignment 4a+4b (due in two week) 2 1 Summary of Previous Session Summary of Previous Session Document Object Model (DOM) Advanced XML Parser Technology JDOM: Java-Centric API for XML JAXP: Java API for XML Processing Parsers comparison Latest W3C APIs and Standards for Processing XML XML Infoset, DOM Level 3, Canonical XML XML Signatures, XBase, XInclude XML Schema Adjuncts Java-Based XML Data Processing Frameworks Assignment #3 3 XML-Based Rendering Development XML Software Development Methodology Language + Stepwise Process + Tools Rational Unified Process (RUP) vs. “XML Unified Process” XML Application Development Infrastructure Metadata Management (e.g., XMI) XSLT, XPath XSL-FO APIs (JAXP, JAXB, JDOM, SAX, DOM) XML Tools (e.g., XML Editors, Apache’s FOP, Antenna House’s XSL Formatter, HTML/CSS1/2/3, XHTML, XForms, WCAG XML App. Components Involved in the Rendering Phase: Application(s) of XML XML-based applications/services (markup language mediators) MOM, POP, Other Services (e.g., persistence) 4 Application Infrastructure Frameworks
    [Show full text]
  • XSLT in Context
    XSLT in Context This chapter is designed to put XSLT in context. It's about the purpose of XSLT and the task it was designed to perform. It's about what kind of language it is, and how it came to be that way; and it's about how XSLT fits in with all the other technologies that you are likely to use in a typical web-based application. I won't be saying much in this chapter about what an XSLT stylesheet actually looks like or how it works: that will come later, in Chapters 2 and 3. I shall begin by describing the task that XSLT is designed to perform – transformation – and why there is the need to transform XML documents. I'll then present a trivial example of a transformation in order to explain what this means in practice. The chapter then moves on to discuss the relationship of XSLT to other standards in the growing XML family, to put its function into context and explain how it complements the other standards. I'll describe what kind of language XSLT is, and delve a little into the history of how it came to be like that. If you're impatient you may want to skip the history and get on with using the language, but sooner or later you will ask "why on earth did they design it like that?" and at that stage I hope you will go back and read about the process by which XSLT came into being. Finally, I'll have a few things to say about the different ways of using XSLT within the overall architecture of an application, in which there will inevitably be many other technologies and components each playing their own part.
    [Show full text]
  • Semantic Web – Theory and Applications
    Maria-Iuliana Dascălu Iuliana Marin Semantic Web – Theory and Applications Table of Contents Foreward ................................................................................. 5 1. Introduction to Semantic Web ........................................ 7 2. XML- eXtensible Markup Language .............................. 9 2.1. Roundup Theory ......................................................... 9 2.2. Exercises with solutions ............................................11 2.3. Proposed exercises ....................................................20 3. DTD - A Document Type Declaration& XSD – XML Schema Definition ................................................................21 3.1. Roundup Theory .......................................................21 3.2. Exercises with solutions ............................................24 3.3. Proposed exercises ....................................................33 4. XSLT- the eXtensible Stylesheet Language Transformations ....................................................................35 4.1. Roundup Theory .......................................................35 4.2. Exercises with solution .............................................37 4.3. Proposed exercises ....................................................55 5. XPATH .........................................................................57 5.1. Roundup Theory .......................................................57 5.2. Exercises with solution .............................................59 5.3. Proposed exercises
    [Show full text]
  • XSL Formatting Objects Sebastian Rahtz March 2003
    XSL Formatting Objects Sebastian Rahtz March 2003 XSL Formatting Objects 1 Core principles of XSL FO ☛ Conceptual compatibility with DSSSL ☛ Compatibility with CSS properties ☛ Screen properties as well as print ☛ No compromises on internationalization ☛ Closely linked to XSLT transformation language It provides an abstract formatting language to describe pages. XSL Formatting Objects 2 The FO output tree The input is transformed into an output tree consisting of: ☛ page masters, which define named styles of page layout; and ☛ page sequences, which reference a named page layout and contain a flow of text. Within that flow, text is assigned to one of five (rectangular) regions (the page body, areas at the top, bottom, left and right) We also have allowance for floating objects (at the top of the page), and footnotes (at the bottom), and the model covers writing in left/right and/or top/bottom modes. XSL Formatting Objects 3 Inside regions and blocks Within a region of text, we find one or more ☛ blocks ☛ tables ☛ lists and ☛ floats and within a block, we find ☛ inline sequences ☛ characters ☛ links ☛ footnotes and ☛ graphics XSL Formatting Objects 4 Object properties ☛ aural properties ☛ borders, spacing and padding ☛ breaking ☛ colors ☛ font properties (family, size, shape, weight etc) ☛ hyphenation ☛ positioning ☛ special table properties ☛ special list properties BUT supporting all of them is not mandatory. XSL Formatting Objects 5 Simple example Take this bit of TEI input <p>The <gi>corr</gi> element marks <corr sic="a mistake">correction</corr></p> and transform it, as an interpretation of what the <corr> element is supposed to do, with the following XSLT template.
    [Show full text]