Session 2: Markup Language Technologies

Total Page:16

File Type:pdf, Size:1020Kb

Session 2: Markup Language Technologies XML for Java Developers G22.3033-002 Session 2 - Main Theme Markup Language Technologies (Part II) Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical Sciences 1 Agenda Q Summary of Previous Session Q Errata: <pages> tag, XML 2.0, XML Applications !? Q History and Current State of XML Standards Q Advanced Applications of XML Q XML’s eXtensible Style Language (XSL) Q Character Encodings and Text Processing Q XML and DBMSs Q Course Approach ... Q XML Application Development Q XML References and Class Project Q Readings Q Assignment #1a (reminder?) 2 Q Assignment #1b (1 week) 1 Summary of Previous Session Q XML Generics Q Course Logistics, Structure and Objectives Q History of Meta-Markup Languages Q XML Applications: Markup Languages Q XML Information Modeling Applications Q XML-Based Architectures Q XML and Java Q XML Development Tools Q Summary Q Class Project Q Readings Q Assignment #1a 3 Old History Q Formatting Markups Q Rendition notations (e.g., LaTeX, TeX, RTF, MIF) Q Compatible with standard text editors Q Processed into presentations (printout, or electronic display) Q WYSIWYG Q What You See Is “ALL” You Get Q Meta-Markup Language Q GML (Goldfarb, Mosher, Lorie - IBM 1969) Q Generalized (i.e., indep. of systems, devices, applications) Q Markups (i.e., information related to struct. & content Q Language (i.e., methodology with formal syntax) Q Validation capabilities (1974) 4 2 SGML Q SGML (1978 - 10/15/86) Q Used by DoD for Continuous Acquisition and Lifecycle Support (CALS) Q http://www.oasis-open.org/cover/general.html Q SGML DTD or Schema <!DOCTYPE tutorials [ <!ELEMENT tutorials – (tutorial+)> <!ELEMENT tutorial – (title, intro, chap+)> <!ELEMENT title – O (#PCDATA)> <!ELEMENT intro – O (para+)> <!ELEMENT chap – O (title, para+)> <!ELEMENT para – O (#PCDATA)> ]> 5 SGML Markup <tutorials> <tutorial> <title>XML TUTORIAL <intro> <para>Required first paragraph of intro. <para>Optional second paragraph of intro. </intro> <chap> <title>CHAPTER 1 <para>Required first paragraph of first chapter. <chap> <title>CHAPTER 2 <para>Required first paragraph of optional 2nd chapter. </tutorial </tutorials> 6 3 W3C and HTML Q Tim Berners-Lee (CERN, 1989) Q W3 Hypertext System Q W3 uses HTML Q Founder of W3C in 1994 Q HTML Q Based on SGML, no DTD support) Q W3C Q HTML (http://www.w3.org/TR/html4) Q CSS + weakly extensible HTML Q XML Q XHTML (http://www.w3.org/TR/xhtml1) 7 XML Q DTD <!DOCTYPE TUTORIALS [ <!ELEMENT tutorials (tutorial+)> <!ELEMENT tutorial (title, intro, chap+)> <!ELEMENT title (#PCDATA)> <!ELEMENT intro (para+)> <!ELEMENT chap (title, para+)> <!ELEMENT para (#PCDATA)> ]> Q XML is different from SGML Q Names are case sensitive Q Non empty elements must have a start and end tag Q DTD or Schema not required 8 4 Current State of XML Standards http://www.w3.org/XML, www.w3.org/XML/Activity.html, www.w3schools.com/xml Q eXtensible Markup Language (XML) 1.0 (2nd Edition) - 10/06/00) Q Namespaces in XML - 01/14/99 Q URIs: http://www.w3.org/Addressing/ Q XML Schema Part 0: Primer - 05/02/01 Q XML Schema Part 1: Structures - 05/02/01 Q XML Schema Part 2: Datatypes - 05/02/01 Q XML Path Language (XPath) Version 1.0 - 11/16/99 Q Associating Stylesheets with XML Documents - 06/29/99 Q Use “xml:stylesheet” element in the XML document prolog Q XSL Transformations (XSLT) Version 1.0 - 11/16/99 Q Extensible Stylesheet Language (XSL) Version 1.0 (candidate rec.) 9 Current State of XML Standards (continued) Q Canonical XML Version 1.0 - 03/19/01 Q Document Object Model (DOM) Level 2 - 11/13/00 Q Core, Views, Events, Style, Traversal & Range Q Web Content Accessibility Guidelines 1.0 - 05/05/99 Q Resource Description Framework (RDF) - 02/22/99 Q Microsoft Validator: Q http://msdn.microsoft.com/downloads/samples/Internet/xml/xml_validator/sample.asp Q W3C Schema Validator Q http://www.w3.org/2001/03/webdata/xsv 10 5 Advanced Applications of XML Q Ancestors: SGML with Annex K, HyTime, DSSS Q Alternatives: HTML 4.01, CSS Q HTML-Based Q XHTML 1.0, XForms 1.0 Q POP-Based Q e.g., XHTML, CML, MathML, SMIL, SVG, P3P, RDF, WML Q MOM-Based Q e.g., ebXML, RosettaNet, cXML, fpML, FIXML Q Web Services-Based Q Protocols (SOAP, WSDL, UDDI) 11 Q Services & Facilities (XAML) Logical Structure of XML Documents: Namespaces 1.0 • Namespaces: provides a simple method to qualify element and attribute names used in XML documents by associating them with namespaces identified by URIs – Example: <price> is borrowed from the “edi” schema <?xml version=“1.0”?> <order:x xmlns:order=‘http://ecommerce.org/order’> xmlns:edi=‘http://ecommerce.org/edi’> <edi:price>14.95</edi:price> </order:x> • See http://www.w3.org/TR/1999/REC-xml-names-19990114/ 12 6 eXtensible Style Language (XSL) Q DSSSL & DSSSL-O Q CSS 1, 2, 3 … Q http://www.w3.org/Style/CSS/ Q XSLT Q XPath Q XSL-FO Q XSLT Processors Q Stylus Studio XSL development environment Q IBM XSL Editor Q Saxon and Xalan XSLT processors Q XSL-FO Processors Q Antenna House 13 Q fop XSL Processing Q http://www.w3.org/Style/XSL/ Q Processing Alternatives: Q HTML + CSS -> Presentation Q XML + CSS -> Presentation Q XML + XSLT -> XSL-FO -> Presentation Q XML + XSLT -> XML/HTML + CSS -> Presentation Q Client or Server Processing ? Q See Session 2 handout on IE5’s implementation Q Examples Q See Session 2 Sub-Topic 1 Presentation: Beginning XML Q See Session 2 handouts on XSL Tree Transformation Language Q See Session 2 handout on Cascading Stylesheets 14 Q See Session 2 handout on Styling Documents Using XSL 7 Character Encodings & Text Processing Q ASCII, ISO 8859, and Unicode Q http://www.bbsinc.com/iso8859.html Q http://www.oasis-open.org/cover/unicode-xml.html Q www.unicode.org Q http://www.oasis-open.org/cover/unicode-xml.html Q http://home.att.net/~jameskass • Using Unicode characters in XML/HTML – U+ (4 digit min) hex number (e.g., "U+1234”) – Specify as: "&#x1234;" or "&#x10FFFD;". Q White space processing ?! 15 XML & DBMSs Comparison Q Both separate data from rendition/presentation info Q Similar languages Q DBMSs: Forms and Reporting, DDL, DQL, DCL Q XML: XSL, XQL, and processing instructions Q No DML in XML Q XML is paired with a scripting or programming language Q Validation capabilities Q DBMSs: datatyping, relationship constraints Q XML: data type validity and semantic consistency checks Q XML can handle data too complex for some databases Q XML interchangeable form of data vs. multidatabases16 8 Course Approach ... Q IBM XML Certification Test 140 Q http://www-4.ibm.com/software/ad/certify/obj140.html Q Proficiency Objectives – Information Modeling – XML Processing – XML Rendering –XML Query – Architecture Design – Implementation Testing 17 XML Application Development Q Applications of XML: Markup Languages Q XML Applications Today Q POP (Java becoming optional) Q Web Content Programming Q Web Application Development Q Web-Enabled Enterprise Application Development Q MOM Q EDI v.s. IEC/B2B Q EAI Applications Q e.g., ERP, SCM, CRM integration Q XML Applications Tomorrow 18 Q MOM & POP become Web Services 9 XML POP Application Development Q Java Independent Component Models Q JSP Custom Tags Q XML/XSLT Q XML/Servlet Frameworks (e.g., Cocoon) Q XML/Servlet Filters Q XML/JavaScript Q XML Data Bindings Q Java Intensive Component Models Q JSP/Java Q JSP/JavaBeans Q Applets/JWS Q Servlets 19 XML MOM Application Development Q Java Independent Component Models Q Scripting Languages Q Non J2EE Platforms (e.g., CORBA 3 & DNA) and PLs Q Web Services Platforms Q Sun Open Net Environment (ONE) Q HP NetAction Q Oracle Dynamic Services Q IBM WebSphere Platform Q Microsoft .NET Q Java Intensive Component Models Q EJBs Q JSP/JavaBeans Q Applets/JWS Q Servlets 20 10 XML References Q Information – www.learnthenet.com/english/index.html – http://www.xml.com – http://www.xml.org – http://www.xmlu.com – http://www.ucc.ie/xml – http://www.oasis-open.org/cover – http://msdn/microsoft.com/xml – http://xml.about.com Q Software – http://xml.apache.org – http://www.alphaworks.ibm.com/tech/xml – http://www.microsoft.com/xml – http://technet.oracle.com/tech/xml – http://java.sun.com/xml – http://www.xmlsoftware.com – http://www.xmlcenter.com/tools/ 21 Class Project Q Project Description Q The project will focus on “multi-channel online community platforms”, and will consist of providing custom XML-based services to support the various aspects of a chosen eBusiness application implemented on such platforms (e.g., “community-based shopping”). Examples of useful services to support these platforms may include synchronized multimedia presentation viewing, and “offline” chat capabilities. A sample specification of an online community platform for a virtual university eBusiness application will be provided for illustration purpose. Q A sample community platform for online discussions: www.onchat.com 22 11 Readings Q Readings Q XML Development with Java 2: Chapters 1, 4, and 5 Q Professional Java XML: Chapters 1, 7, 8, App. A & G Q XML and Java: Chapter 1, App. C & E Q Handouts posted on the course web site Q Review Xpath 1.0, XSLT 1.0, XSL 1.0 W3C Recs Q Project Frameworks Setup (ongoing) Q Apache’s Web Server, TomCat, and Cocoon Q Apache’s Xerces, Xalan 23 Assignment Q Assignment #1b: Q Review the class project description, and the virtual university sample eBusiness application specification Q Come up with your own variant of a an eBusiness application that would benefit from being implemented on top of a “multi- channel online community platform” Q Specify a set of services or facilities that would need to be provided on top of an online community platform to support your specific eBusiness application 24 12 Assignment (continued) Q Assignment #1b (continued): Q Provide a written specification of your overall framework (i.e., platform and services), and propose a staged development approach that would demonstrate the use of XML to support the modern approach at building comprehensive business applications suggested in this course.
Recommended publications
  • On the Integrity and Trustworthiness of Web Produced Data
    CORE Metadata, citation and similar papers at core.ac.uk Provided by Open Repository of the University of Porto On the Integrity and Trustworthiness of web produced data Luís A. Maia Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos Departamento de Ciência de Computadores 2013 Orientador Professor Doutor Manuel Eduardo Carvalho Duarte Correia, Professor Auxiliar do Departamento de Computadores, Faculdade de Ciências da Universidade do Porto Todas as correções determinadas pelo júri, e só essas, foram efetuadas. O Presidente do Júri, Porto, ______/______/_________ Acknowledgments I would like to express my appreciation for the help of my supervisor in researching and bringing different perspectives and to thank my family, for their support and dedication. 3 Abstract Information Systems have been a key tool for the overall performance improvement of administrative tasks in academic institutions. While most systems intend to deliver a paperless environment to each institution it is recurrent that document integrity and accountability is still relying on traditional methods such as producing physical documents for signing and archiving. While this method delivers a non-efficient work- flow and has an effective monetary cost, it is still the common method to provide a degree of integrity and accountability on the data contained in the databases of the information systems. The evaluation of a document signature is not a straight forward process, it requires the recipient to have a copy of the signers signature for comparison and training beyond the scope of any office employee training, this leads to a serious compromise on the trustability of each document integrity and makes the verification based entirely on the trust of information origin which is not enough to provide non-repudiation to the institutions.
    [Show full text]
  • Open Source Software Used in Cisco Unified Web and E-Mail Interaction
    Open Source Used In EIM/WIM 9.0(1) This document contains the licenses and notices for open source software used in this product. With respect to the free/open source software listed in this document, if you have any questions or wish to receive a copy of the source code to which you are entitled under the applicable free/open source license(s) (such as the GNU Lesser/General Public License), please contact us at [email protected]. In your requests please include the following reference number 78EE117C99-32799394 Contents 1.1 Apache Log4J 1.2.15 1.1.1 Available under license 1.2 Ext JS 3.4.0 1.2.1 Available under license 1.3 JBoss Application Server 7.1.2 1.3.1 Available under license 1.4 JForum 2.1.8 1.4.1 Available under license 1.5 XML Parser for Java-Xalan 1.4.1 1.5.1 Available under license 1.6 XML Parser for Java-Xerces 1.4.1 1.6.1 Available under license Open Source Used In EIM/WIM 9.0(1) 1 1.1 Apache Log4J 1.2.15 1.1.1 Available under license : Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
    [Show full text]
  • XML Signature/Encryption — the Basis of Web Services Security
    Special Issue on Security for Network Society Falsification Prevention and Protection Technologies and Products XML Signature/Encryption — the Basis of Web Services Security By Koji MIYAUCHI* XML is spreading quickly as a format for electronic documents and messages. As a consequence, ABSTRACT greater importance is being placed on the XML security technology. Against this background research and development efforts into XML security are being energetically pursued. This paper discusses the W3C XML Signature and XML Encryption specifications, which represent the fundamental technology of XML security, as well as other related technologies originally developed by NEC. KEYWORDS XML security, XML signature, XML encryption, Distributed signature, Web services security 1. INTRODUCTION 2. XML SIGNATURE XML is an extendible markup language, the speci- 2.1 Overview fication of which has been established by the W3C XML Signature is an electronic signature technol- (WWW Consortium). It is spreading quickly because ogy that is optimized for XML data. The practical of its flexibility and its platform-independent technol- benefits of this technology include Partial Signature, ogy, which freely allows authors to decide on docu- which allows an electronic signature to be written on ment structures. Various XML-based standard for- specific tags contained in XML data, and Multiple mats have been developed including: ebXML and Signature, which enables multiple electronic signa- RosettaNet, which are standard specifications for e- tures to be written. The use of XML Signature can commerce transactions, TravelXML, which is an EDI solve security problems, including falsification, spoof- (Electronic Data Interchange) standard for travel ing, and repudiation. agencies, and NewsML, which is a standard specifica- tion for new distribution formats.
    [Show full text]
  • Sams Teach Yourself XML in 21 Days
    Steven Holzner Teach Yourself XML in 21 Days THIRD EDITION 800 East 96th Street, Indianapolis, Indiana, 46240 USA Sams Teach Yourself XML in 21 Days, ASSOCIATE PUBLISHER Michael Stephens Third Edition ACQUISITIONS EDITOR Copyright © 2004 by Sams Publishing Todd Green All rights reserved. No part of this book shall be reproduced, stored in a retrieval DEVELOPMENT EDITOR system, or transmitted by any means, electronic, mechanical, photocopying, record- Songlin Qiu ing, or otherwise, without written permission from the publisher. No patent liability MANAGING EDITOR is assumed with respect to the use of the information contained herein. Although every precaution has been taken in the preparation of this book, the publisher and Charlotte Clapp author assume no responsibility for errors or omissions. Nor is any liability assumed PROJECT EDITOR for damages resulting from the use of the information contained herein. Matthew Purcell International Standard Book Number: 0-672-32576-4 INDEXER Library of Congress Catalog Card Number: 2003110401 Mandie Frank PROOFREADER Printed in the United States of America Paula Lowell First Printing: October 2003 TECHNICAL EDITOR 06050403 4321 Chris Kenyeres Trademarks TEAM COORDINATOR Cindy Teeters All terms mentioned in this book that are known to be trademarks or service marks have been appropriately capitalized. Sams Publishing cannot attest to the accuracy INTERIOR DESIGNER of this information. Use of a term in this book should not be regarded as affecting Gary Adair the validity of any trademark or service mark. COVER DESIGNER Warning and Disclaimer Gary Adair PAGE LAYOUT Every effort has been made to make this book as complete and as accurate as possi- ble, but no warranty or fitness is implied.
    [Show full text]
  • Bibliography of Erik Wilde
    dretbiblio dretbiblio Erik Wilde's Bibliography References [1] AFIPS Fall Joint Computer Conference, San Francisco, California, December 1968. [2] Seventeenth IEEE Conference on Computer Communication Networks, Washington, D.C., 1978. [3] ACM SIGACT-SIGMOD Symposium on Principles of Database Systems, Los Angeles, Cal- ifornia, March 1982. ACM Press. [4] First Conference on Computer-Supported Cooperative Work, 1986. [5] 1987 ACM Conference on Hypertext, Chapel Hill, North Carolina, November 1987. ACM Press. [6] 18th IEEE International Symposium on Fault-Tolerant Computing, Tokyo, Japan, 1988. IEEE Computer Society Press. [7] Conference on Computer-Supported Cooperative Work, Portland, Oregon, 1988. ACM Press. [8] Conference on Office Information Systems, Palo Alto, California, March 1988. [9] 1989 ACM Conference on Hypertext, Pittsburgh, Pennsylvania, November 1989. ACM Press. [10] UNIX | The Legend Evolves. Summer 1990 UKUUG Conference, Buntingford, UK, 1990. UKUUG. [11] Fourth ACM Symposium on User Interface Software and Technology, Hilton Head, South Carolina, November 1991. [12] GLOBECOM'91 Conference, Phoenix, Arizona, 1991. IEEE Computer Society Press. [13] IEEE INFOCOM '91 Conference on Computer Communications, Bal Harbour, Florida, 1991. IEEE Computer Society Press. [14] IEEE International Conference on Communications, Denver, Colorado, June 1991. [15] International Workshop on CSCW, Berlin, Germany, April 1991. [16] Third ACM Conference on Hypertext, San Antonio, Texas, December 1991. ACM Press. [17] 11th Symposium on Reliable Distributed Systems, Houston, Texas, 1992. IEEE Computer Society Press. [18] 3rd Joint European Networking Conference, Innsbruck, Austria, May 1992. [19] Fourth ACM Conference on Hypertext, Milano, Italy, November 1992. ACM Press. [20] GLOBECOM'92 Conference, Orlando, Florida, December 1992. IEEE Computer Society Press. http://github.com/dret/biblio (August 29, 2018) 1 dretbiblio [21] IEEE INFOCOM '92 Conference on Computer Communications, Florence, Italy, 1992.
    [Show full text]
  • QUERYING JSON and XML Performance Evaluation of Querying Tools for Offline-Enabled Web Applications
    QUERYING JSON AND XML Performance evaluation of querying tools for offline-enabled web applications Master Degree Project in Informatics One year Level 30 ECTS Spring term 2012 Adrian Hellström Supervisor: Henrik Gustavsson Examiner: Birgitta Lindström Querying JSON and XML Submitted by Adrian Hellström to the University of Skövde as a final year project towards the degree of M.Sc. in the School of Humanities and Informatics. The project has been supervised by Henrik Gustavsson. 2012-06-03 I hereby certify that all material in this final year project which is not my own work has been identified and that no work is included for which a degree has already been conferred on me. Signature: ___________________________________________ Abstract This article explores the viability of third-party JSON tools as an alternative to XML when an application requires querying and filtering of data, as well as how the application deviates between browsers. We examine and describe the querying alternatives as well as the technologies we worked with and used in the application. The application is built using HTML 5 features such as local storage and canvas, and is benchmarked in Internet Explorer, Chrome and Firefox. The application built is an animated infographical display that uses querying functions in JSON and XML to filter values from a dataset and then display them through the HTML5 canvas technology. The results were in favor of JSON and suggested that using third-party tools did not impact performance compared to native XML functions. In addition, the usage of JSON enabled easier development and cross-browser compatibility. Further research is proposed to examine document-based data filtering as well as investigating why performance deviated between toolsets.
    [Show full text]
  • SVG Tutorial
    SVG Tutorial David Duce *, Ivan Herman +, Bob Hopgood * * Oxford Brookes University, + World Wide Web Consortium Contents ¡ 1. Introduction n 1.1 Images on the Web n 1.2 Supported Image Formats n 1.3 Images are not Computer Graphics n 1.4 Multimedia is not Computer Graphics ¡ 2. Early Vector Graphics on the Web n 2.1 CGM n 2.2 CGM on the Web n 2.3 WebCGM Profile n 2.4 WebCGM Viewers ¡ 3. SVG: An Introduction n 3.1 Scalable Vector Graphics n 3.2 An XML Application n 3.3 Submissions to W3C n 3.4 SVG: an XML Application n 3.5 Getting Started with SVG ¡ 4. Coordinates and Rendering n 4.1 Rectangles and Text n 4.2 Coordinates n 4.3 Rendering Model n 4.4 Rendering Attributes and Styling Properties n 4.5 Following Examples ¡ 5. SVG Drawing Elements n 5.1 Path and Text n 5.2 Path n 5.3 Text n 5.4 Basic Shapes ¡ 6. Grouping n 6.1 Introduction n 6.2 Coordinate Transformations n 6.3 Clipping ¡ 7. Filling n 7.1 Fill Properties n 7.2 Colour n 7.3 Fill Rule n 7.4 Opacity n 7.5 Colour Gradients ¡ 8. Stroking n 8.1 Stroke Properties n 8.2 Width and Style n 8.3 Line Termination and Joining ¡ 9. Text n 9.1 Rendering Text n 9.2 Font Properties n 9.3 Text Properties -- ii -- ¡ 10. Animation n 10.1 Simple Animation n 10.2 How the Animation takes Place n 10.3 Animation along a Path n 10.4 When the Animation takes Place ¡ 11.
    [Show full text]
  • SGML As a Framework for Digital Preservation and Access. INSTITUTION Commission on Preservation and Access, Washington, DC
    DOCUMENT RESUME ED 417 748 IR 056 976 AUTHOR Coleman, James; Willis, Don TITLE SGML as a Framework for Digital Preservation and Access. INSTITUTION Commission on Preservation and Access, Washington, DC. ISBN ISBN-1-887334-54-8 PUB DATE 1997-07-00 NOTE 55p. AVAILABLE FROM Commission on Preservation and Access, A Program of the Council on Library and Information Resources, 1400 16th Street, NW, Suite 740, Washington, DC 20036-2217 ($20). PUB TYPE Reports Evaluative (142) EDRS PRICE MF01/PC03 Plus Postage. DESCRIPTORS *Access to Information; Computer Oriented Programs; *Electronic Libraries; *Information Retrieval; Library Automation; Online Catalogs; *Preservation; Standards IDENTIFIERS Digital Technology; *SGML ABSTRACT This report explores the suitability of Standard Generalized Markup Language (SGML) as a framework for building, managing, and providing access to digital libraries, with special emphasis on preservation and access issues. SGML is an international standard (ISO 8879) designed to promote text interchange. It is used to define markup languages, which can then encode the logical structure and content of any so-defined document. The connection between SGML and the traditional concerns of preservation and access may not be immediately apparent, but the use of descriptive markup tools such as SGML is crucial to the quality and long-term accessibility of digitized materials. Beginning with a general exploration of digital formats for preservation and access, the report provides a staged technical tutorial on the features and uses of SGML. The tutorial covers SGML and related standards, SGML Document Type Definitions in current use, and related projects now under development. A tiered metadata model is described that could incorporate SGML along with other standards to facilitate discovery and retrieval of digital documents.
    [Show full text]
  • Configurable Editing of XML-Based Variable-Data Documents John Lumley, Roger Gimson, Owen Rees HP Laboratories HPL-2008-53
    Configurable Editing of XML-based Variable-Data Documents John Lumley, Roger Gimson, Owen Rees HP Laboratories HPL-2008-53 Keyword(s): XSLT, SVG, document construction, functional programming, document editing Abstract: Variable data documents can be considered as functions of their bindings to values, and this function could be arbitrarily complex to build strongly-customised but high-value documents. We outline an approach for editing such documents from example instances, which is highly configurable in terms of controlling exactly what is editable and how, capable of being used with a wide variety of XML-based document formats and processing pipelines, if certain reasonable properties are supported and can generate appropriate editors automatically, including web- service deployment. External Posting Date: October 6, 2008 [Fulltext] Approved for External Publication Internal Posting Date: October 6, 2008 [Fulltext] Published and presented at DocEng’08, September 16-19, 2008, São Paulo, Brazil © Copyright 2008 ACM Configurable Editing of XML-based Variable-Data Documents John Lumley, Roger Gimson, Owen Rees Hewlett-Packard Laboratories Filton Road, Stoke Gifford BRISTOL BS34 8QZ, U.K. {john.lumley,roger.gimson,owen.rees}@hp.com ABSTRACT al form of the final document (WYSIWYG rather than declaring Variable data documents can be considered as functions of their intent such as using LaTeX), but when the document is highly vari- bindings to values, and this function could be arbitrarily complex able and there are very many different possible instances, how to to build strongly-customised but high-value documents. We outline do this is not immediately obvious. an approach for editing such documents from example instances, We were also keen to consider that, especially in complex commer- which is highly configurable in terms of controlling exactly what ical document workflows, there may be many distinctly different is editable and how, capable of being used with a wide variety of roles of ‘editor’ and ‘author’ for such documents.
    [Show full text]
  • Scraping HTML with Xpath Stéphane Ducasse, Peter Kenny
    Scraping HTML with XPath Stéphane Ducasse, Peter Kenny To cite this version: Stéphane Ducasse, Peter Kenny. Scraping HTML with XPath. published by the authors, pp.26, 2017. hal-01612689 HAL Id: hal-01612689 https://hal.inria.fr/hal-01612689 Submitted on 7 Oct 2017 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Scraping HTML with XPath Stéphane Ducasse and Peter Kenny Square Bracket tutorials September 28, 2017 master @ a0267b2 Copyright 2017 by Stéphane Ducasse and Peter Kenny. The contents of this book are protected under the Creative Commons Attribution-ShareAlike 3.0 Unported license. You are free: • to Share: to copy, distribute and transmit the work, • to Remix: to adapt the work, Under the following conditions: Attribution. You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work). Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same, similar or a compatible license. For any reuse or distribution, you must make clear to others the license terms of this work.
    [Show full text]
  • Stylesheet Translations of SVG to VML
    Stylesheet Translations of SVG to VML A Master's Project presented to The Faculty of the Department of Computer Science San Jose State University In Partial Fulfillment of the Requirements for the Degree of Master of Science Julie Nabong Advisor: Dr. Chris Pollett May 2004 Abstract The most common graphics formats on the Web today are JPEG and GIF. In addition to these formats, two XML-based graphic types are available as open standards: SVG and VML. SVG and VML are vector graphic formats. These formats offer benefits such as fast Web download time, zoomable images, and searchable texts. Because these vector graphics are scalable, these images can be viewed in different screen sizes, such as PC displays and handheld devices. SVG and VML implementations are gaining popularity in Internet cartography and zoomable charts. SVG images can be viewed by downloading a plug-in; whereas, VML images are rendered in Microsoft's Internet Explorer browser versions 5.0 and higher. Although SVG may be considered a more mature format than VML, it is unlikely it will be supported natively by Microsoft anytime soon. In this master's project, SVG images will be transformed into VML images contained in an HTML document that can be viewed without a plug-in. SVG images will be manipulated through the Document Object Model API and transformed into VML images using JavaScript, XSLT, and XPath. JavaScript will play an important role in handling functionalities not present in XSLT. This project will address the issue of gradient discrepancies between the two formats, and try to get the speed of the translation as close to that of the plug-in based solution as possible.
    [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]