1 Agenda Summary of Previous Session

Total Page:16

File Type:pdf, Size:1020Kb

1 Agenda Summary of Previous Session 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 n Summary of Previous Session n Extensible Stylesheet Language Transformation (XSL-T) n Extensible Stylesheet Language Formatting Object (XSL-FO) n XML and Document/Content Management n Assignment 4a+4b (due in two week) 2 Summary of Previous Session n Advanced XML Parser Technology n JDOM: Java-Centric API for XML n JAXP: Java API for XML Processing n Parsers comparison n Latest W3C APIs and Standards for Processing XML n XML Infoset, DOM Level 3, Canonical XML n XML Signatures, XBase, XInclude n XML Schema Adjuncts n Java-Based XML Data Processing Frameworks n Assignment 3a+3b (due next week) 3 1 XML-Based Rendering Development n XML Software Development Methodology n Language + Stepwise Process + Tools n Rational Unified Process (RUP) v.s. “XML Unified Process” n XML Application Development Infrastructure n Metadata Management (e.g., XMI) n XSLT, XPath XSL -FO APIs (JAXP, JAXB, JDOM, SAX, DOM) n XML Tools (e.g., XML Editors,Apache’s FOP, Antenna House’s XSL Formatter, HTML/CSS1/2/3, XHTML, XForms, WCAG n XML Applications Involved in the Rendering Phase: n Application(s) of XML n XML-based applications/services (markup language mediators) n MOM, POP, Other Services (e.g., persistence) 4 n Application Infrastructure Frameworks What is XSL? n XSL is a language for expressing stylesheets. It consists of two parts: n A language for transforming XML documents n A XML vocabulary for specifying formatting semantics n See http://www.w3.org/Style/XSL for the XSLT 1.0/XPath 1.0 Recs, the XSL-FO 1.0 candidate rec, and working drafts of XSLT 1.1/2.0 and XPath 2.0 n A XSL stylesheet specifies the presentation of a class of XML documents. It describes how an instance of the class is transformed into an XML document that uses the formatting vocabulary 5 XML Data Rendering Patterns n Manipulating and Rendering XML Structures Using Java n XSL-T n Transform n Sort n Output n XSL-T + -FO n Format n Output n Querying will be covered separately 6 2 eXtensible Style Language (XSL) n DSSSL & DSSSL-O n CSS 1, 2, 3 … n http://www.w3.org/Style/CSS/ n XSLT n XPath n XSL-FO n XSLT Processors n Stylus Studio XSL development environment n IBM XSL Editor n Saxon and Xalan XSLT processors n XSL-FO Processors n Antenna House 7 n fop XSL Processing n http://www.w3.org/Style/XSL/ n Processing Alternatives: n HTML + CSS -> Presentation n XML + CSS -> Presentation n XML + XSLT -> XSL-FO -> Presentation n XML + XSLT -> XML/HTML + CSS -> Presentation n Client or Server Processing ? n See Session 2 handout on IE5’s implementation of the XSL Spec. n Examples n See Session 2 Sub-Topic 1 Presentation: Beginning XML n See Session 2 handouts on XSL Tree Transformation Language n See Session 2 handout on Cascading Stylesheets 8 n See Session 2 handout on Styling Documents Using XSL A Language for “Mapping XML” (LMX) n LMX is a sample textbook application n LMX can convert a document in one DTD into another DTD and vice versa n LMX uses rules to describe bi-directional “MOM” conversions between two sets of documents n Rules have a “from-pattern” and a “to-pattern”b to respectively match the source document, and construct the target document n Some restrictions exist w.r.t. the LMX patterns in order to simp lify the program as much as possible n LMX can also be used to convert a XML document to HTML (“POP” application) 9 3 How Does the LMX Processor Work? n LMX makes heavy use of the DOM 1.0 API n LMX uses XML4J internally to: n Parse a rule file n Parse a source document n Generate a target document n See chapter 4.3 in the XML and Java textbook for a detailed description of the LMX implementation 10 LMX v.s. the eXtensible Stylesheet Language (XSL) n LMX and XSL both provide a syntax to encode “Style Sheets” n Each XML document can be associated with a style sheet that describes how elements should be organized and formatted for presentation n XSL style sheets provide custom appearances that give a web site a unified look and feel 11 How Does XSL Work? n A XSL style sheet is an XML document n XSL elements in a XSL style sheet correspond to a series of XSL “transformation” rules (i.e., XML tree transformation and/or formatting rules) n XSL rules describe how particular XML tags are to be converted to “flow objects” as the document is read 12 4 Part I Extensible Stylesheet Language Transformation (XSLT) 13 XSL Transformations n Assume root element of style sheet is <xsl> n Each <xsl> element contains one or more rule elements n Each rule has a target and an action n Target is a regular expression defining to which XML elements the rule applies n Action is the list of flow objects generated when the rule is applied: n Actions output a series of HTML tags in combination with the content of the element n Actions may output XML tags obtained via transformation of original XML data n Actions may output non-markup text, or run simple scripts or programs n Actions may use JavaScript to provide more complex, and dynamic behaviors 14 XSL Transformations (continued) n Conceptual Representation of XSL Transformations: <xsl> <rule> <target-element type=“tagname”/> action </rule> <rule> (…) </rule> </xsl> 15 5 XSL-T and Templates n XSLT rules are also called “Templates” n There may not be rules to match every element n Elements can be reordered on the output. n XSL style sheet must be well-formed n e.g., a HTML empty tag specified as <br> must be written as <br/> within a XSL style sheet action n XSLT elements used as a basis for a simple stylesheet are: n <xsl:stylesheet>, <xsl:template match …>, <xsl:apply- templates>, <xsl:for-each select ...>, and <xsl:sort select …> 16 XSLT Elements and Functions n Creating Elements and Attributes n xsl:element, xsl:attribute n Iteration and Sorting (e.g., xsl:sort) n Conditional Processing n xsl:apply-templates select=“ … “, xsl:if, xsl:choose n Copying Nodes (e.g., xsl:copy) n Combining Stylesheets n xsl:import, xsl:include n Defining Variables & Parameters (e.g., xsl:variable) n Scripting with XPath functions 17 Parsers with XSLT Support n SAX 2.0 or DOM Level 2 1.0 Support Required n Apache’s Xalan XSLT parser n org.apache.xalan.processor/templates/transformer n org.apache.xpath n Saxon XSLT parser n JAXP 1.1 (javax.xml.transform) n TraXP n Supported by Xalan 2.0, and Saxon 6.1 n Sun’s XSLTC n Converts stylesheet’s to class files (“translets”) 18 6 Part II Extensible Stylesheet Language Formatting Object (XSL-FO) 19 XSL Formatting n XSL flow objects are markup text n Markup language output flow objects can be HTML, DSSSL, VRML, etc. n We will focus on HTML output flow objects (simpler, more widely understood, better supported by current tools, and do not require an extra level of translation) 20 XSL Formatting Characteristics n XSL formatting is simpler than DSSSL (Document Style Semantics and Specification Language, pronounced “dissal”, ISO std 10179:1996) n XSL formatting is more powerful than CSS (Cascading Style Sheets) n XSL’s basic formatting syntax is understandable by anybody acquainted with DSSSL or CSS 21 7 Part III XML and Document/Content Management 22 What is a XSL Processor? n A XML document and its associated style sheet are combined by an XSL processor to produce a HTML document n The XSL Processor applies the style sheet to the XML document and outputs static HTML n The process can be automated with CGI scripts, Java servlets, or ActiveX controls to convert XML to HTML on the fly n A XSL processor is a standalone program or is part of a larger XML browser 23 How Does a XSL Processor Work? n The XSL processor consults the style sheet to find the rule that matches the element n The XSL processor takes whatever action is associated to the rule: n outputs element’s content plus assorted markup n performs more complicated operations (sorting XML data before outputting it, running a Javascript program on the XML data, adding missing content to XML data, etc.) 24 8 How Does a XSL Processor Work? (continued) n XSL processor formats each element upon receipt n XSL processor may process elements recursively n XSL processor receives input from XML processor and outputs formatted data based on the nature of the elements it receives n E.g., XSL processor receives <strong> element n XSL processor may output same content as bold text n If processor is an audio renderer, it may pump up the volume a n otch...2 25 How Does a XSL Processor Work? n The XSL processor consults the style sheet to find the rule that matches the element n The XSL processor takes whatever action is associated to the rule: n outputs element’s content plus assorted markup n performs more complicated operations (sorting XML data before outputting it, running a Javascript program on the XML data, adding missing content to XML data, etc.) 26 How Does a XSL Processor Work? (continued) n XSL processor formats each element upon receipt n XSL processor may process elements recursively n XSL processor receives input from XML processor and outputs formatted data based on the nature of the elements it receives n E.g., XSL processor receives <strong> element n XSL processor may output same content as bold text n If processor is an audio renderer, it may pump up the volume a n otch..
Recommended publications
  • JAXB Release Documentation JAXB Release Documentation Table of Contents
    JAXB Release Documentation JAXB Release Documentation Table of Contents Overview .......................................................................................................................... 1 1. Documentation ....................................................................................................... 1 2. Software Licenses ................................................................................................... 1 3. Sample Apps .......................................................................................................... 2 3.1. Using the Runtime Binding Framework ............................................................ 2 Release Notes .................................................................................................................... 6 1. Java™ 2 Platform, Standard Edition (J2SE™) Requirements .......................................... 7 2. Identifying the JAR Files ......................................................................................... 7 3. Locating the Normative Binding Schema .................................................................... 7 4. Changelog ............................................................................................................. 7 4.1. Changes between 2.3.0.1 and 2.4.0 .................................................................. 7 4.2. Changes between 2.3.0 and 2.3.0.1 .................................................................. 7 4.3. Changes between 2.2.11 and 2.3.0 ..................................................................
    [Show full text]
  • Fun Factor: Coding with Xquery a Conversation with Jason Hunter by Ivan Pedruzzi, Senior Product Architect for Stylus Studio
    Fun Factor: Coding With XQuery A Conversation with Jason Hunter by Ivan Pedruzzi, Senior Product Architect for Stylus Studio Jason Hunter is the author of Java Servlet Programming and co-author of Java Enterprise Best Practices (both O'Reilly Media), an original contributor to Apache Tomcat, and a member of the expert groups responsible for Servlet, JSP, JAXP, and XQJ (XQuery API for Java) development. Jason is an Apache Member, and as Apache's representative to the Java Community Process Executive Committee he established a landmark agreement for open source Java. He co-created the open source JDOM library to enable optimized Java and XML integration. More recently, Jason's work has focused on XQuery technologies. In addition to helping on XQJ, he co-created BumbleBee, an XQuery test harness, and started XQuery.com, a popular XQuery development portal. Jason presently works as a Senior Engineer with Mark Logic, maker of Content Interaction Server, an XQuery-enabled database for content. Jason is interviewed by Ivan Pedruzzi, Senior Product Architect for Stylus Studio. Stylus Studio is the leading XML IDE for XML data integration, featuring advanced support for XQuery development, including XQuery editing, mapping, debugging and performance profiling. Ivan Pedruzzi: Hi, Jason. Thanks for taking the time to XQuery behind a J2EE server (I have a JSP tag library talk with The Stylus Scoop today. Most of our readers for this) but I’ve found it easier to simply put XQuery are familiar with your past work on Java Servlets; but directly on the web. What you do is put .xqy files on the could you tell us what was behind your more recent server that are XQuery scripts to produce XHTML interest and work in XQuery technologies? pages.
    [Show full text]
  • Merchandise Planning and Optimization Licensing Information
    Oracle® Retail Merchandise Planning and Optimization Licensing Information July 2009 This document provides licensing information for all the third-party applications used by the following Oracle Retail applications: ■ Oracle Retail Clearance Optimization Engine ■ Oracle Retail Markdown Optimization ■ Oracle Retail Place ■ Oracle Retail Plan ■ Oracle Retail Promote (PPO and PI) Prerequisite Softwares and Licenses Oracle Retail products depend on the installation of certain essential products (with commercial licenses), but the company does not bundle these third-party products within its own installation media. Acquisition of licenses for these products should be handled directly with the vendor. The following products are not distributed along with the Oracle Retail product installation media: ® ■ BEA WebLogic Server (http://www.bea.com) ™ ■ MicroStrategy Desktop (http://www.microstrategy.com) ■ MicroStrategy Intelligence Server™ and Web Universal (http://www.microstrategy.com) ® ■ Oracle Database 10g (http://www.oracle.com) ® ■ Oracle Application Server 10g (http://www.oracle.com) ® ■ Oracle Business Intelligence Suite Enterprise Edition Version 10 (http://www.oracle.com) ■ rsync (http://samba.anu.edu.au/rsync/). See rsync License. 1 Softwares and Licenses Bundled with Oracle Retail Products The following third party products are bundled along with the Oracle Retail product code and Oracle has acquired the necessary licenses to bundle the software along with the Oracle Retail product: ■ addObject.com NLSTree Professional version 2.3
    [Show full text]
  • Coldfusion Server and Performance Management Suite 2018
    ColdFusion Server and Performance Management Suite 2018 Third Party Software Notices and/or Additional Terms and Conditions Date Generated: 2018/09/10 LibJPEG ID: 54 Thomas G. Lane This software is based in part on the work of the Independent JPEG Group. _________________________________________________________________________________________________________ Adobe modified Zlib ID: 823 Jean-loup Gailly and Mark Adler Portions include technology used under license from Jean-loup Gailly and Mark Adler, and are copyrighted. _________________________________________________________________________________________________________ Apache Commons Collections ID: 306 Apache Foundation and Contributors This product includes software licensed under the Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0 _________________________________________________________________________________________________________ Apache Commons Collections ID: 1132 The Apache Software Foundation The Apache Software License, Version 1.1 Copyright (c) 1999-2001, 1999-2003 The Apache Software Foundation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other
    [Show full text]
  • Major Open Source ILS Products
    Chapter 3 Major Open Source ILS Products t least four open source ILS products are available system, called Catalist, which was not compliant with the today: Koha, Evergreen, and OPALS. (see table looming Y2K issue. Rather than purchase a commercial A4). While there may be some additional products, system, HLT contracted with a consulting company named these four have emerged as the most widely implemented Katipo Communications to develop a new Web-based sys- and serve as good examples of the current state of the tem. They named this new system Koha, the Maori word art of the open source ILS. While each of these products for gift or donation, and released it as open source, allow- bears a great deal of similarity in approach, they also dif- ing libraries anywhere to use and help develop and sup- fer in features and functionality and in their appeal to port the software. The HLT libraries began using Koha on different types of libraries This section provides detailed January 1, 2000. information regarding each of these systems. A fairly quiet period followed the initial release of Koha, with a few individuals and libraries picking up on the system. No groundswell of interest resulted right away. The initial version of Koha was quite adequate for History and Background three libraries of HLT that together served a commu- Koha nity of about 30,000 residents with a collection of about 80,000 volumes. At that point, Koha did not have some Koha claims the status of being the first open source of the features considered mandatory for most libraries— November/December 2008 November/December library automation system.
    [Show full text]
  • Open Source Used in Cisco Unity Connection 11.5 SU 1
    Open Source Used In Cisco Unity Connection 11.5 SU 1 Cisco Systems, Inc. www.cisco.com Cisco has more than 200 offices worldwide. Addresses, phone numbers, and fax numbers are listed on the Cisco website at www.cisco.com/go/offices. Text Part Number: 78EE117C99-132949842 Open Source Used In Cisco Unity Connection 11.5 SU 1 1 This document contains 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 any source code to which you may be 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-132949842 Contents 1.1 ace 5.3.5 1.1.1 Available under license 1.2 Apache Commons Beanutils 1.6 1.2.1 Notifications 1.2.2 Available under license 1.3 Apache Derby 10.8.1.2 1.3.1 Available under license 1.4 Apache Mina 2.0.0-RC1 1.4.1 Available under license 1.5 Apache Standards Taglibs 1.1.2 1.5.1 Available under license 1.6 Apache STRUTS 1.2.4. 1.6.1 Available under license 1.7 Apache Struts 1.2.9 1.7.1 Available under license 1.8 Apache Xerces 2.6.2. 1.8.1 Notifications 1.8.2 Available under license 1.9 axis2 1.3 1.9.1 Available under license 1.10 axis2/cddl 1.3 1.10.1 Available under license 1.11 axis2/cpl 1.3 1.11.1 Available under license 1.12 BeanUtils(duplicate) 1.6.1 1.12.1 Notifications Open Source Used In Cisco Unity Connection
    [Show full text]
  • Candidate Resume
    Flat No-a/303, Dharti Park, Behind Shriniwas , Palghar Thane MH 401501 India P : +91 9321883949 E : [email protected] W : www.hawkcl.com Hawk ID # 33574 IT / System Analyst Residential Country : India Nationality : India Resume Title : System Analyst Notice Period : 1 Days EDUCATION Qualification Institute / College /University Year Country B E / B Tech JNTU 2007 India CAREER SUMMARY From Month/ To Month/ Position Employer Country Year Year System Analyst Reputed Company 07/2010 / Software Verus Solutions 10/2007 07/2010 Developer Private Ltd ADDITIONAL CERTIFICATE AND TECHNICAL QUALIFICATION Name Of The Course Course Date Valid Upto Name Of Organisation Current Salary Expected Salary (Monthly In USD): Not Mention (Monthly In USD): Not Mention Additional Skills : Professional Summary • Eight years of experience in design, development, deployment and maintenance of enterprise web applications in ERP, Utility and Marketing domains. • Expertise in Client/ Server and application development using Java, J2ee technologies. • Experienced in leading and mentoring teams with 3-5 members. • Strong knowledge on Object Oriented Programming. • Expertise in web application development using frameworks like Struts , Spring and Hibernate. • Excellent Knowledge of MVC Architecture. • Have worked on application servers like Jboss and Tomcat. • Have worked on build and deploy tools like Ant and Maven. • Have worked on continuous integration tools like Hudson (aka Jenkins). • Have worked on consuming the SOAP web services using Apache Axis API. • Good understanding of Rest Services (RestEasy). • Working knowledge on relational databases like Oracle 10g and Postgresql 8. • Pro-active, highly motivated, results oriented and leadership skills with great team ethics. Technical Expertise • Programming Languages : Java 5/6/7.
    [Show full text]
  • Oracle Java Composite Application Platform Suite 6.3 Release Notes
    Oracle® Java Composite Application Platform Suite 6.3 Release Notes Part No: 821–2528 December 2011 Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS. Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms setforth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle America, Inc., 500 Oracle Parkway, Redwood City, CA 94065.
    [Show full text]
  • XML for Java Developers G22.3033-002 Course Roadmap
    XML for Java Developers G22.3033-002 Session 1 - Main Theme Markup Language Technologies (Part I) Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical Sciences 1 Course Roadmap Consider the Spectrum of Applications Architectures Distributed vs. Decentralized Apps + Thick vs. Thin Clients J2EE for eCommerce vs. J2EE/Web Services, JXTA, etc. Learn Specific XML/Java “Patterns” Used for Data/Content Presentation, Data Exchange, and Application Configuration Cover XML/Java Technologies According to their Use in the Various Phases of the Application Development Lifecycle (i.e., Discovery, Design, Development, Deployment, Administration) e.g., Modeling, Configuration Management, Processing, Rendering, Querying, Secure Messaging, etc. Develop XML Applications as Assemblies of Reusable XML- Based Services (Applications of XML + Java Applications) 2 1 Agenda XML Generics Course Logistics, Structure and Objectives History of Meta-Markup Languages XML Applications: Markup Languages XML Information Modeling Applications XML-Based Architectures XML and Java XML Development Tools Summary Class Project Readings Assignment #1a 3 Part I Introduction 4 2 XML Generics XML means eXtensible Markup Language XML expresses the structure of information (i.e., document content) separately from its presentation XSL style sheets are used to convert documents to a presentation format that can be processed by a target presentation device (e.g., HTML in the case of legacy browsers) Need a
    [Show full text]
  • Return of Organization Exempt from Income
    OMB No. 1545-0047 Return of Organization Exempt From Income Tax Form 990 Under section 501(c), 527, or 4947(a)(1) of the Internal Revenue Code (except black lung benefit trust or private foundation) Open to Public Department of the Treasury Internal Revenue Service The organization may have to use a copy of this return to satisfy state reporting requirements. Inspection A For the 2011 calendar year, or tax year beginning 5/1/2011 , and ending 4/30/2012 B Check if applicable: C Name of organization The Apache Software Foundation D Employer identification number Address change Doing Business As 47-0825376 Name change Number and street (or P.O. box if mail is not delivered to street address) Room/suite E Telephone number Initial return 1901 Munsey Drive (909) 374-9776 Terminated City or town, state or country, and ZIP + 4 Amended return Forest Hill MD 21050-2747 G Gross receipts $ 554,439 Application pending F Name and address of principal officer: H(a) Is this a group return for affiliates? Yes X No Jim Jagielski 1901 Munsey Drive, Forest Hill, MD 21050-2747 H(b) Are all affiliates included? Yes No I Tax-exempt status: X 501(c)(3) 501(c) ( ) (insert no.) 4947(a)(1) or 527 If "No," attach a list. (see instructions) J Website: http://www.apache.org/ H(c) Group exemption number K Form of organization: X Corporation Trust Association Other L Year of formation: 1999 M State of legal domicile: MD Part I Summary 1 Briefly describe the organization's mission or most significant activities: to provide open source software to the public that we sponsor free of charge 2 Check this box if the organization discontinued its operations or disposed of more than 25% of its net assets.
    [Show full text]
  • Refactoring XSLT
    XSLT and XQuery September 19, 2019 Refactoring XSLT Priscilla Walmsley, Datypic, Inc. Class Outline Introduction ......................................................................................................................................2 Cleaning Up......................................................................................................................................9 Improving Code Quality..................................................................................................................14 Other Improvements.......................................................................................................................21 Introduction 2 Obligatory Wikipedia Quote 3 Code refactoring is the process of restructuring existing computer code - changing the factoring - without changing its external behavior. Refactoring improves nonfunctional attributes of the software. Advantages include improved code readability and reduced complexity; these can improve source code maintainability and create a more expressive internal architecture or object model to improve extensibility. Typically, refactoring applies a series of standardised basic micro-refactorings, each of which is (usually) a tiny change in a computer program's source code that either preserves the behaviour of the software, or at least does not modify its conformance to functional requirements. Many development environments provide automated support for performing the mechanical aspects of these basic refactorings. If done extremely well, code
    [Show full text]
  • Supporting SPARQL Update Queries in RDF-XML Integration *
    Supporting SPARQL Update Queries in RDF-XML Integration * Nikos Bikakis1 † Chrisa Tsinaraki2 Ioannis Stavrakantonakis3 4 Stavros Christodoulakis 1 NTU Athens & R.C. ATHENA, Greece 2 EU Joint Research Center, Italy 3 STI, University of Innsbruck, Austria 4 Technical University of Crete, Greece Abstract. The Web of Data encourages organizations and companies to publish their data according to the Linked Data practices and offer SPARQL endpoints. On the other hand, the dominant standard for information exchange is XML. The SPARQL2XQuery Framework focuses on the automatic translation of SPARQL queries in XQuery expressions in order to access XML data across the Web. In this paper, we outline our ongoing work on supporting update queries in the RDF–XML integration scenario. Keywords: SPARQL2XQuery, SPARQL to XQuery, XML Schema to OWL, SPARQL update, XQuery Update, SPARQL 1.1. 1 Introduction The SPARQL2XQuery Framework, that we have previously developed [6], aims to bridge the heterogeneity issues that arise in the consumption of XML-based sources within Semantic Web. In our working scenario, mappings between RDF/S–OWL and XML sources are automatically derived or manually specified. Using these mappings, the SPARQL queries are translated on the fly into XQuery expressions, which access the XML data. Therefore, the current version of SPARQL2XQuery provides read-only access to XML data. In this paper, we outline our ongoing work on extending the SPARQL2XQuery Framework towards supporting SPARQL update queries. Both SPARQL and XQuery have recently standardized their update operation seman- tics in the SPARQL 1.1 and XQuery Update Facility, respectively. We have studied the correspondences between the update operations of these query languages, and we de- scribe the extension of our mapping model and the SPARQL-to-XQuery translation algorithm towards supporting SPARQL update queries.
    [Show full text]