Next Generation Query and Transformation Standards. Priscilla Walmsley Managing Director, Datypic
|
|
- Edward Norton
- 6 years ago
- Views:
Transcription
1 Next Generation Query and Transformation Standards Priscilla Walmsley Managing Director, Datypic 1
2 Agenda The query and transformation landscape Querying XML with XQuery Transforming XML with XSLT Shared components Decision points 2005 Datypic Slide 2
3 Querying and Transforming XML Querying: Extracting data of interest Transformation: Changing the structure of data Sometimes it's hard to tell them apart Give me just the b elements, but call them x in the results Change all the b elements to x elements, and ignore the rest 2005 Datypic Slide 3
4 W3C Standards for Querying/Transformation FLWOR Expressions XML Constructors Query Prolog User-Defined Functions Conditional Expressions Arithmetic Expressions Quantified Expressions Built-In Functions & Operators Data Model XPath XQuery XSLT 2.0 XPath 1.0 Path Expressions Comparison Expressions Some Built-In Functions Stylesheets Templates XML Constructors User-Defined Functions 2005 Datypic Slide 4
5 Querying XML with XQuery 5
6 XQuery 1.0 for $i1 in for $i2 in doc("input2.xml")//product where = order by $i1 return <dep name="{$i1}" XML Input 1 XML Input 2 parse parse XQuery Processor analyze and evaluate serialize (or pass on) XML XML Output Output 2005 Datypic Slide 6
7 XML Input Could be data that is: a textual XML document on a file system retrieved from a Web service stored in an XML database stored in a relational database created in memory by program code Can take the form of: a single XML document a collection of several documents a fragment of a document (e.g. sequence of elements) 2005 Datypic Slide 7
8 XQuery 1.0 Capabilities selecting elements/attributes from XML input documents for $i1 in doc("order.xml")//item for $i2 in doc("catalog.xml")//product where = $i2/prodnum order by $i1/quantity return <item name="{$i2/prodname}" saleprice="{min($i2/price) - $i2/discount}"/> 2005 Datypic Slide 8
9 XQuery 1.0 Capabilities joining data from multiple sources for $i1 in doc("order.xml")//item for $i2 in doc("catalog.xml")//product where = $i2/prodnum order by $i1/quantity return <item name="{$i2/prodname}" saleprice="{min($i2/price) - $i2/discount}"/> 2005 Datypic Slide 9
10 XQuery 1.0 Capabilities adding new elements/attributes to results for $i1 in doc("order.xml")//item for $i2 in doc("catalog.xml")//product where = $i2/prodnum order by $i1/quantity return <item name="{$i2/prodname}" saleprice="{min($i2/price) - $i2/discount}"/> 2005 Datypic Slide 10
11 XQuery 1.0 Capabilities performing calculations for $i1 in doc("order.xml")//item for $i2 in doc("catalog.xml")//product where = $i2/prodnum order by $i1/quantity return <item name="{$i2/prodname}" saleprice="{min($i2/price) - $i2/discount}"/> 2005 Datypic Slide 11
12 XQuery 1.0 Capabilities sorting results for $i1 in doc("order.xml")//item for $i2 in doc("catalog.xml")//product where = $i2/prodnum order by $i1/quantity return <item name="{$i2/prodname}" saleprice="{min($i2/price) - $i2/discount}"/> 2005 Datypic Slide 12
13 XQuery Use Cases 13
14 Search and Browse What hotels in New York allow pets and have Internet access? Happy User Built-In User Interface Built-In XQuery Processor Custom User Interface Semi-Structured XML Content (Poetry Manuscripts, Medical Journals, Hotel Reviews) "Native" XML DBMS e.g. MarkLogic, Berkeley DB, exist 2005 Datypic Slide 14
15 "XML-izing" Data for Web Services What is the status of my order? Happy User Order Inquiry Web Service Built-In XQuery Front-End Structured Data (Orders, Product Prices, Customer Information) Relational DBMS e.g. SQL Server, Oracle, DB Datypic Slide 15
16 Integrating Disparate Data Sources DataDirect Technologies 2005 Datypic Slide 16
17 Anything, really... Anywhere in application code you would currently use XPath, or XSLT, or DOM, e.g.: to narrow down results returned from a Web service in a pipeline process to split or subset an XML document to manipulate or create a configuration file stored as XML 2005 Datypic Slide 17
18 XQuery Features 18
19 Features of XQuery Compact syntax Typing and schema support Reusable function libraries Designed with today's XML in mind 2005 Datypic Slide 19
20 Compact, Intuitive Syntax Easy to learn and use Less verbose than XSLT but much more powerful than straight XPath Does not require hard-core programming background Ideal for embedding into programming languages 2005 Datypic Slide 20
21 Embedding in Java XQJ: XQuery API for Java proposed Java standard for invoking queries, and processing the results the "JDBC of XML" XQExpression expr = conn.createexpression(); String qy = "for $p in doc('cat.xml')//product return ($p/name)"; XQResultSequence result = expr.executequery(qy); while (result.next()) { String str = result.getstring(); System.out.println("Product name: " + str); } result.close(); expr.close(); conn.close(); 2005 Datypic Slide 21
22 Typing and Schema Support Typing allows for identification of query errors Optional schema support can associate a schema with a query or input document the schema defines the rules for the input or output XML names of elements/attributes hierarchical structure number of occurrences data types 2005 Datypic Slide 22
23 Benefits of Using Schemas Better identification of static errors allows discovery of errors in the query that were not otherwise apparent especially important when new versions of the input XML vocabulary come along Query optimization Validity of query inputs and results makes them more predictable Special processing based on type 2005 Datypic Slide 23
24 Using Schemas to Catch Static Errors import schema default element namespace " at " for $prod in doc("cat.xml")/produt order by $prod/name/number return $prod/name + 1 misspelling type error: name is declared to be of type xs:string, so cannot be used in an add operation invalid path; name will never have number child 2005 Datypic Slide 24
25 Reusable Function Libraries Portable, reusable, shareable Can provide a set of standard queries on a standard XML vocabulary As vocabulary changes, function libraries can be recompiled and/or versioned module namespace dty = " declare function dty:orderstatus($num as xs:string?) as element(order)* {... }; declare function dty:cancelorder($num as xs:string?) as xs:boolean {... }; 2005 Datypic Slide 25
26 Designed with Today's XML in Mind Intuitive, designed-in support for: namespaces construction of new elements/attributes data types whitespace handling etc. Much less awkward than, e.g., DOM manipulation 2005 Datypic Slide 26
27 Transforming XML with XSLT 27
28 Typical XSLT Use Cases Transform content into presentation XML to HTML, XML to XSL-FO General purpose XML to XML transforms (data manipulation) B2B EAI Transform XML to other formats (text, CSV, etc.) 2005 Datypic Slide 28
29 XSLT (Look familiar?) <xsl:template match="order"> <xsl:for-each select="item"> <li>item number <xsl:value-of </xsl:for-each> </xsl:template> XML Input 1 XML Input 2 parse parse XSLT Processor analyze and evaluate serialize (or pass on) XML XML Output Output 2005 Datypic Slide 29
30 XSLT What's New? Grouping Multiple result documents Temporary result trees XPath 2.0 enhancements more powerful syntax more built-in functions Schema support and type system 2005 Datypic Slide 30
31 Schema Support and Type System Same typing/schema features as XQuery Special processing based on type: <xsl:template match="element(*,usaddresstype)">... <xsl:value-of select="city"/> <xsl:value-of select="zipcode"/> </xsl:template> <xsl:template match="element(*,ukaddresstype)">... <xsl:value-of select="postcode"/> <xsl:value-of select="city"/> </xsl:template> 2005 Datypic Slide 31
32 XSLT Conveniences (not present in XQuery) Highly flexible recursive processing allows "Push" approach Grouping syntax is more explicit = easier Formatting of dates and numbers format-date, format-number Advanced string manipulation analyze-string Ability to customize/override stylesheets 2005 Datypic Slide 32
33 Pull vs. Push Approaches Pull go get element X and do this with it next, go get element Y and do this with it Push get the root element if it happens to be X, do this with it. if it happens to be Y, do this with it. if it's anything else, skip it. next, go get its children and repeat 2005 Datypic Slide 33
34 Pull Approach Pulling the information from the input document using hardcoded paths to specific locations Requires a predictable document structure <xsl:template match="order"> <xsl:for-each select="item"> <li>item #<xsl:value-of select="@num"/></li> </xsl:for-each> </xsl:template> 2005 Datypic Slide 34
35 Push Approach Traversing a document, taking each element as it comes, then deciding what to do with it Useful when the structure of the input file is not known, or is highly flexible Flexible but not optimized Very difficult to do in XQuery 2005 Datypic Slide 35
36 Sample Stylesheet in "Push" Style <xsl:template match="order"> <xsl:apply-templates select="*"/> </xsl:template> <xsl:template match="item"> <xsl:apply-templates </xsl:template> <xsl:template <li>item # <xsl:value-of select="."/></li> </xsl:template> 2005 Datypic Slide 36
37 XQuery and XSLT: Shared Components 37
38 Shared Components XPath 2.0 Built-in functions Data model 2005 Datypic Slide 38
39 XPath 2.0 Full compatibility across XQuery and XSLT same syntax same expression will always return the same value Much more than just path expressions for $a in fn:distinct-values(/bib/book/author) return ($a, /bib/book[author = $a]/title) some $emp in /emps/employee satisfies ($emp/bonus > 0.25 * $emp/salary) 2005 Datypic Slide 39
40 Over 100 Built-In Functions: A Sample String-related substring, contains, matches, tokenize Date-related current-date, month-from-date Number-related round, avg, sum, ceiling Sequence-related index-of, insert-before, reverse Document- and URI-related collection, doc, root, base-uri 2005 Datypic Slide 40
41 XQuery/XPath Data Model 2005 Datypic Slide 41
42 XQuery vs. XSLT: Decision Factors 42
43 XQuery vs. XSLT: Decision Factors Use case Availability of relevant implementations Performance Programming style 2005 Datypic Slide 43
44 Use Case Use XSLT if: your documents are highly variable your transformation is presentation-oriented your processing is heavily recursive Use XQuery if: you are selecting a small subset of a collection of XML data you are joining data from multiple sources your documents are predictable in structure, or variations are not relevant to your searches 2005 Datypic Slide 44
45 Availability of Relevant Implementations XQuery XML DBMSs: MarkLogic, Sleepycat Berkeley DB, X-Hive, exist Relational DBMSs: Oracle, SQL Server, DB2 Standalone: Saxon XML Editors: Stylus Studio, XMLSpy, Oxygen XSLT 2.0 Standalone: Saxon XML Editors: Stylus Studio, XMLSpy 2005 Datypic Slide 45
46 Performance XQuery implementations tend to be optimized for: XML stored in a database predictable document structures that can be indexed XSLT implementations tend to be optimized for: transforming an entire document that can be loaded into memory More driven by use cases than limitations of languages 2005 Datypic Slide 46
47 Programming Style XSLT recursive template language difficult for some developers to grasp verbosity can be irritating however, many users loves it XQuery appealing to SQL users probably easier for newcomers 2005 Datypic Slide 47
48 Conclusions XQuery and XSLT 2.0 are coming of age They overlap in capabilities... but differ in use cases and sweet spots Both take XML manipulation to a new level in terms of: power flexibility production-readiness 2005 Datypic Slide 48
49 Resources Detailed technical comparison of XQuery and XSLT 2.0 Michael Kay's paper from XTech 05: edings/xtech05/papers/ / XQuery implementations Datypic Slide 49
50 Learning XQuery My tutorial on XQuery: Definitive XQuery By Priscilla Walmsley Coming in Datypic Slide 50
51 Thank you for your interest. For more information please contact me at: Website: 51
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 informationXML 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 informationManipulating 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 informationPre-Discussion. XQuery: An XML Query Language. Outline. 1. The story, in brief is. Other query languages. XML vs. Relational Data
Pre-Discussion XQuery: An XML Query Language D. Chamberlin After the presentation, we will evaluate XQuery. During the presentation, think about consequences of the design decisions on the usability of
More informationChapter 13 XML: Extensible Markup Language
Chapter 13 XML: Extensible Markup Language - Internet applications provide Web interfaces to databases (data sources) - Three-tier architecture Client V Application Programs Webserver V Database Server
More informationM359 Block5 - Lecture12 Eng/ Waleed Omar
Documents and markup languages The term XML stands for extensible Markup Language. Used to label the different parts of documents. Labeling helps in: Displaying the documents in a formatted way Querying
More informationNavigating Input Documents Using Paths4
Chapter 4 CHAPTER 4 Navigating Input Documents Using Paths4 Path expressions are used to navigate input documents to select elements and attributes of interest. This chapter explains how to use path expressions
More informationTable of Contents. Preface... xvii
Table of Contents Preface...................................................................... xvii 1. Introduction to XQuery....................................................... 1 What Is XQuery? 1
More informationXML: Extensible Markup Language
XML: Extensible Markup Language CSC 375, Fall 2015 XML is a classic political compromise: it balances the needs of man and machine by being equally unreadable to both. Matthew Might Slides slightly modified
More informationChapter 2 XML, XML Schema, XSLT, and XPath
Summary Chapter 2 XML, XML Schema, XSLT, and XPath Ryan McAlister XML stands for Extensible Markup Language, meaning it uses tags to denote data much like HTML. Unlike HTML though it was designed to carry
More informationExtensions to XSLT 1.0, and XSLT 2.0
... Extensions A typical problem: XSLT 1.0 does not have any way of finding the current date and time. However, some XSLT 1.0 processors allow you to use extensions to XSLT 1.0. The EXSLT initiative http://www.exslt.org/
More informationXSLT 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 informationAuthor: 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 informationIntroduction p. 1 An XML Primer p. 5 History of XML p. 6 Benefits of XML p. 11 Components of XML p. 12 BNF Grammar p. 14 Prolog p. 15 Elements p.
Introduction p. 1 An XML Primer p. 5 History of XML p. 6 Benefits of XML p. 11 Components of XML p. 12 BNF Grammar p. 14 Prolog p. 15 Elements p. 16 Attributes p. 17 Comments p. 18 Document Type Definition
More informationComputer 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 informationAdvanced Database Technologies XQuery
Advanced Database Technologies XQuery Christian Grün Database & Information Systems Group Introduction What is XQuery? query language (more than a) counterpart to SQL functional language general purpose
More informationXSLT: 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 informationCOPYRIGHTED MATERIAL. Contents. Part I: Introduction 1. Chapter 1: What Is XML? 3. Chapter 2: Well-Formed XML 23. Acknowledgments
Acknowledgments Introduction ix xxvii Part I: Introduction 1 Chapter 1: What Is XML? 3 Of Data, Files, and Text 3 Binary Files 4 Text Files 5 A Brief History of Markup 6 So What Is XML? 7 What Does XML
More informationStylus Studio 2009 XML Feature Comparison Matrix
Stylus Studio 2009 XML Feature Comparison Matrix Compare editions of Stylus Studio to determine the one that best meets your needs. It is recommended Stylus Studio XML Enterprise Suite for advanced data
More informationH2 Spring B. We can abstract out the interactions and policy points from DoDAF operational views
1. (4 points) Of the following statements, identify all that hold about architecture. A. DoDAF specifies a number of views to capture different aspects of a system being modeled Solution: A is true: B.
More informationXSLT. 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 informationXPath 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 informationXPath. by Klaus Lüthje Lauri Pitkänen
XPath by Klaus Lüthje Lauri Pitkänen Agenda Introduction History Syntax Additional example and demo Applications Xpath 2.0 Future Introduction Expression language for Addressing portions of an XML document
More informationCopyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 27-1
Slide 27-1 Chapter 27 XML: Extensible Markup Language Chapter Outline Introduction Structured, Semi structured, and Unstructured Data. XML Hierarchical (Tree) Data Model. XML Documents, DTD, and XML Schema.
More informationOracle 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 informationXML. Rodrigo García Carmona Universidad San Pablo-CEU Escuela Politécnica Superior
XML Rodrigo García Carmona Universidad San Pablo-CEU Escuela Politécnica Superior XML INTRODUCTION 2 THE XML LANGUAGE XML: Extensible Markup Language Standard for the presentation and transmission of information.
More informationINFO/CS 4302 Web Informa6on Systems
INFO/CS 4302 Web Informa6on Systems FT 2012 Week 5: Web Architecture: Structured Formats Part 3 (XML Manipula6ons) (Lecture 8) Theresa Velden RECAP XML & Related Technologies overview Purpose Structured
More informationData Presentation and Markup Languages
Data Presentation and Markup Languages MIE456 Tutorial Acknowledgements Some contents of this presentation are borrowed from a tutorial given at VLDB 2000, Cairo, Agypte (www.vldb.org) by D. Florescu &.
More informationExtreme Java G Session 3 - Sub-Topic 5 XML Information Rendering. Dr. Jean-Claude Franchitti
Extreme Java G22.3033-007 Session 3 - Sub-Topic 5 XML Information Rendering Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical Sciences 1 Agenda
More informationXML Metadata Standards and Topic Maps
XML Metadata Standards and Topic Maps Erik Wilde 16.7.2001 XML Metadata Standards and Topic Maps 1 Outline what is XML? a syntax (not a data model!) what is the data model behind XML? XML Information Set
More informationXML. COSC Dr. Ramon Lawrence. An attribute is a name-value pair declared inside an element. Comments. Page 3. COSC Dr.
COSC 304 Introduction to Database Systems XML Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca XML Extensible Markup Language (XML) is a markup language that allows for
More information2nd Edition. XQuery SEARCH ACROSS A VARIETY OF XML DATA. Priscilla Walmsley
2nd Edition XQuery SEARCH ACROSS A VARIETY OF XML DATA Priscilla Walmsley O Reilly ebooks. Your bookshelf on your devices. PDF Mobi epub DAISY When you buy an ebook through oreilly.com you get lifetime
More informationXML: Introduction. !important Declaration... 9:11 #FIXED... 7:5 #IMPLIED... 7:5 #REQUIRED... Directive... 9:11
!important Declaration... 9:11 #FIXED... 7:5 #IMPLIED... 7:5 #REQUIRED... 7:4 @import Directive... 9:11 A Absolute Units of Length... 9:14 Addressing the First Line... 9:6 Assigning Meaning to XML Tags...
More informationCopyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Chapter 7 XML
Chapter 7 XML 7.1 Introduction extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML Lax syntactical rules Many complex features that are rarely used HTML
More informationQuerying and Transforming XML Data Chapter5 Contents
Contents Outline of Lecture... 153 Sources... 153 Motivation... 153 Querying and Transforming XML Data... 154 Tree Model of XML Data... 154 XML Hierarchy... 155 What is XPath?... 156 XPath - Selecting
More informationDelivery Options: Attend face-to-face in the classroom or remote-live attendance.
XML Programming Duration: 5 Days Price: $2795 *California residents and government employees call for pricing. Discounts: We offer multiple discount options. Click here for more info. Delivery Options:
More informationXSLT and Structural Recursion. Gestão e Tratamento de Informação DEI IST 2011/2012
XSLT and Structural Recursion Gestão e Tratamento de Informação DEI IST 2011/2012 Outline Structural Recursion The XSLT Language Structural Recursion : a different paradigm for processing data Data is
More informationDelivery Options: Attend face-to-face in the classroom or via remote-live attendance.
XML Programming Duration: 5 Days US Price: $2795 UK Price: 1,995 *Prices are subject to VAT CA Price: CDN$3,275 *Prices are subject to GST/HST Delivery Options: Attend face-to-face in the classroom or
More informationBurrows & 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 informationPASS4TEST. 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 informationXML and information exchange. XML extensible Markup Language XML
COS 425: Database and Information Management Systems XML and information exchange 1 XML extensible Markup Language History 1988 SGML: Standard Generalized Markup Language Annotate text with structure 1992
More informationSpeech 2 Part 2 Transcript: The role of DB2 in Web 2.0 and in the IOD World
Speech 2 Part 2 Transcript: The role of DB2 in Web 2.0 and in the IOD World Slide 1: Cover Welcome to the speech, The role of DB2 in Web 2.0 and in the Information on Demand World. This is the second speech
More informationXML Overview, part 1
XML Overview, part 1 Norman Gray Revision 1.4, 2002/10/30 XML Overview, part 1 p.1/28 Contents The who, what and why XML Syntax Programming with XML Other topics The future http://www.astro.gla.ac.uk/users/norman/docs/
More information516. XSLT. Prerequisites. Version 1.2
516. XSLT Version 1.2 This comprehensive four-day course develops in-depth knowledge and skills in transforming XML documents using extensible Stylesheet Language Transformations, or XSLT. Students work
More informationExtensible 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 information7.1 Introduction. extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML
7.1 Introduction extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML Lax syntactical rules Many complex features that are rarely used HTML is a markup language,
More informationSDPL : XML Basics 2. SDPL : XML Basics 1. SDPL : XML Basics 4. SDPL : XML Basics 3. SDPL : XML Basics 5
2 Basics of XML and XML documents 2.1 XML and XML documents Survivor's Guide to XML, or XML for Computer Scientists / Dummies 2.1 XML and XML documents 2.2 Basics of XML DTDs 2.3 XML Namespaces XML 1.0
More informationIBM WebSphere software platform for e-business
IBM WebSphere software platform for e-business XML Review Cao Xiao Qiang Solution Enablement Center, IBM May 19, 2001 Agenda What is XML? Why XML? XML Technology Types of XML Documents DTD XSL/XSLT Available
More informationXML 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 informationDHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI
DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI Department of Information Technology IT6801 SERVICE ORIENTED ARCHITECTURE Anna University 2 & 16 Mark Questions & Answers Year / Semester: IV / VII Regulation:
More informationXML. Jonathan Geisler. April 18, 2008
April 18, 2008 What is? IS... What is? IS... Text (portable) What is? IS... Text (portable) Markup (human readable) What is? IS... Text (portable) Markup (human readable) Extensible (valuable for future)
More informationTable of Contents Chapter 1 - Introduction Chapter 2 - Designing XML Data and Applications Chapter 3 - Designing and Managing XML Storage Objects
Table of Contents Chapter 1 - Introduction 1.1 Anatomy of an XML Document 1.2 Differences Between XML and Relational Data 1.3 Overview of DB2 purexml 1.4 Benefits of DB2 purexml over Alternative Storage
More informationXPath Expression Syntax
XPath Expression Syntax SAXON home page Contents Introduction Constants Variable References Parentheses and operator precedence String Expressions Boolean Expressions Numeric Expressions NodeSet expressions
More informationOracle 11g: XML Fundamentals
Oracle 11g: XML Fundamentals Student Guide D52500GC10 Edition 1.0 December 2007 D53762 Authors Chaitanya Koratamaddi Salome Clement Technical Contributors and Reviewers Bijoy Choudhury Isabelle Cornu Ken
More informationCOP 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- if you look too hard it isn't there
IBM Research Phantom XML - if you look too hard it isn't there Kristoffer H. Rose Lionel Villard XML 2005, Atlanta November 22, 2005 Overview Motivation Phantomization XML Processing Experiments Conclusion
More informationOxygen Xsd From Xml File Visual Studio Generate Sample
Oxygen Xsd From Xml File Visual Studio Generate Sample This topic describes how to create a new XML Schema (XSD) file and then add content In Visual Studio, open the File menu and select New and then File.
More informationXSL 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 informationXSL 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 informationChapter 1: Getting Started. You will learn:
Chapter 1: Getting Started SGML and SGML document components. What XML is. XML as compared to SGML and HTML. XML format. XML specifications. XML architecture. Data structure namespaces. Data delivery,
More informationCSI 3140 WWW Structures, Techniques and Standards. Representing Web Data: XML
CSI 3140 WWW Structures, Techniques and Standards Representing Web Data: XML XML Example XML document: An XML document is one that follows certain syntax rules (most of which we followed for XHTML) Guy-Vincent
More informationIntroduction to XQuery and XML Databases
Introduction to XQuery and XML Databases TEI@Oxford July 2009 XQuery While XSLT is good for transforming XML to other formats (XML, HTML, PDF, Text, etc.) sometimes you may wish to query a large database
More informationXML for Java Developers G Session 8 - Main Theme XML Information Rendering (Part II) Dr. Jean-Claude Franchitti
XML for Java Developers G22.3033-002 Session 8 - Main Theme XML Information Rendering (Part II) Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical
More informationExam : 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 informationComp 336/436 - Markup Languages. Fall Semester Week 9. Dr Nick Hayward
Comp 336/436 - Markup Languages Fall Semester 2018 - Week 9 Dr Nick Hayward DEV Week assessment Course total = 25% project outline and introduction developed using a chosen markup language consider and
More informationSemistructured Content
On our first day Semistructured Content 1 Structured data : database system tagged, typed well-defined semantic interpretation Semi-structured data: tagged - (HTML?) some help with semantic interpretation
More informationData Exchange. Hyper-Text Markup Language. Contents: HTML Sample. HTML Motivation. Cascading Style Sheets (CSS) Problems w/html
Data Exchange Contents: Mariano Cilia / cilia@informatik.tu-darmstadt.de Origins (HTML) Schema DOM, SAX Semantic Data Exchange Integration Problems MIX Model 1 Hyper-Text Markup Language HTML Hypertext:
More informationImproving Existing XSLT Stylesheets. Improving Existing XSLT Stylesheets Priscilla Walmsley
Improving Existing XSLT Stylesheets 19 September 2013 Improving Existing XSLT Stylesheets Priscilla Walmsley Datypic, Inc. Attribution- Noncommercial-Share Alike 3.0 Unported License www.xmlsummerschool.com
More informationXML, XPath, and XSLT. Jim Fawcett Software Modeling Copyright
XML, XPath, and XSLT Jim Fawcett Software Modeling Copyright 1999-2017 Topics XML is an acronym for extensible Markup Language. Its purpose is to describe structured data. XPath is a language for navigating
More informationIBM. XML and Related Technologies Dumps Braindumps Real Questions Practice Test dumps free
000-141 Dumps 000-141 Braindumps 000-141 Real Questions 000-141 Practice Test 000-141 dumps free IBM 000-141 XML and Related Technologies http://killexams.com/pass4sure/exam-detail/000-141 collections
More informationSemistructured Content
On our first day Semistructured Content 1 Structured data : database system tagged, typed well-defined semantic interpretation Semi-structured data: tagged - XML (HTML?) some help with semantic interpretation
More informationXML Parsers. Asst. Prof. Dr. Kanda Runapongsa Saikaew Dept. of Computer Engineering Khon Kaen University
XML Parsers Asst. Prof. Dr. Kanda Runapongsa Saikaew (krunapon@kku.ac.th) Dept. of Computer Engineering Khon Kaen University 1 Overview What are XML Parsers? Programming Interfaces of XML Parsers DOM:
More informationIntroduction to XML. University of California, Santa Cruz Extension Computer and Information Technology
Introduction to XML University of California, Santa Cruz Extension Computer and Information Technology Presented by: Bennett Smith bennettsmith@idevelopsoftware.com Introduction Answer the question What
More informationWorking with XML and DB2
Working with XML and DB2 What is XML? XML stands for EXtensible Markup Language XML is a markup language much like HTML XML was designed to carry data, not to display data XML tags are not predefined.
More informationA tutorial report for SENG Agent Based Software Engineering. Course Instructor: Dr. Behrouz H. Far. XML Tutorial.
A tutorial report for SENG 609.22 Agent Based Software Engineering Course Instructor: Dr. Behrouz H. Far XML Tutorial Yanan Zhang Department of Electrical and Computer Engineering University of Calgary
More informationStructured documents
Structured documents An overview of XML Structured documents Michael Houghton 15/11/2000 Unstructured documents Broadly speaking, text and multimedia document formats can be structured or unstructured.
More informationSection 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 informationLars 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 informationXML and Databases. Outline XML. XML, typical usage scenario XML. 1. extensible Stylesheet Language X M L. Sebastian Maneth NICTA and UNSW
Outline XML and Databases 1. extensible Stylesheet Language Transformations (XSLT) 2. Templates (match pattern action) Lecture 11 XSLT Stylesheets and Transforms Sebastian Maneth NICTA and UNSW 3. Default
More informationDeveloping High-Quality XSLT Stylesheets
XSLT and XQuery September 13, 2018 Developing High-Quality XSLT Stylesheets Priscilla Walmsley, Datypic, Inc. Class Outline Introduction...2 Clarity...8 Modularity... 11 Robustness...27 Other Improvements...35
More informationINLS 760 Web Databases Lecture 12 XML, XPATH, XSLT
INLS 760 Web Databases Lecture 12 XML, XPATH, XSLT Robert Capra Spring 2013 Note: These lecture notes are based on the tutorials on XML, XPath, and XSLT at W3Schools: http://www.w3schools.com/ and from
More informationXML: Managing with the Java Platform
In order to learn which questions have been answered correctly: 1. Print these pages. 2. Answer the questions. 3. Send this assessment with the answers via: a. FAX to (212) 967-3498. Or b. Mail the answers
More informationPresentation 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 informationAFew 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 informationXML Data Management. 5. Extracting Data from XML: XPath
XML Data Management 5. Extracting Data from XML: XPath Werner Nutt based on slides by Sara Cohen, Jerusalem 1 Extracting Data from XML Data stored in an XML document must be extracted to use it with various
More informationCOMP9321 Web Application Engineering. Extensible Markup Language (XML)
COMP9321 Web Application Engineering Extensible Markup Language (XML) Dr. Basem Suleiman Service Oriented Computing Group, CSE, UNSW Australia Semester 1, 2016, Week 4 http://webapps.cse.unsw.edu.au/webcms2/course/index.php?cid=2442
More informationXML Technologies. Doc. RNDr. Irena Holubova, Ph.D. Web pages:
XML Technologies Doc. RNDr. Irena Holubova, Ph.D. holubova@ksi.mff.cuni.cz Web pages: http://www.ksi.mff.cuni.cz/~holubova/nprg036/ Outline Introduction to XML format, overview of XML technologies DTD
More informationEXAM 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 informationEXAM IN SEMI-STRUCTURED DATA Study Code Student Id Family Name First Name
EXAM IN SEMI-STRUCTURED DATA 184.705 28. 10. 2016 Study Code Student Id Family Name First Name Working time: 100 minutes. Exercises have to be solved on this exam sheet; Additional slips of paper will
More informationLesson 13 Transcript: User-Defined Functions
Lesson 13 Transcript: User-Defined Functions Slide 1: Cover Welcome to Lesson 13 of DB2 ON CAMPUS LECTURE SERIES. Today, we are going to talk about User-defined Functions. My name is Raul Chong, and I'm
More informationDynamic Indexing with XSL
In content is generally displayed in a static format. This means that the content entered never changes unless it is updated manually. When a page is transformed, the data entered on the page is visible.
More informationOracle Developer Day
Oracle Developer Day Sponsored by: Session 3 Familiar Techniques: Modeling and Frameworks Speaker Speaker Title Page 1 1 Agenda Forms as a Framework Mapping Forms to Oracle ADF Familiar Concepts Phases
More informationA Modular modular XQuery implementation
A Modular modular XQuery implementation Implementation Jan Vraný, Jan Jan Vraný, Jan Žák Žák Department of Computer Science and Engineering, FEE, Czech Technical University Department of Computer in Prague,
More informationDatabase Systems: Design, Implementation, and Management Tenth Edition. Chapter 14 Database Connectivity and Web Technologies
Database Systems: Design, Implementation, and Management Tenth Edition Chapter 14 Database Connectivity and Web Technologies Database Connectivity Mechanisms by which application programs connect and communicate
More informationDBS2: Exkursus XQuery and XML-Databases. Jan Sievers Jens Hündling Lars Trieloff
DBS2: Exkursus XQuery and XML-Databases Jan Sievers Jens Hündling Lars Trieloff Motivation XML ubiquitous data exchange format Can be used to present Object data, relational data, semi-structured data
More informationRepurpose Your Data! XSL Transformations in e-business solutions
Repurpose Your Data! XSL Transformations in e-business solutions XML One 2000 Repurpose your Data! The Role of XSL Transformations in e-business Architectures Page 1 Mark Colan e-business vangelist IBM
More information6/3/2016 8:44 PM 1 of 35
6/3/2016 8:44 PM 1 of 35 6/3/2016 8:44 PM 2 of 35 2) Background Well-formed XML HTML XSLT Processing Model 6/3/2016 8:44 PM 3 of 35 3) XPath XPath locates items within an XML file It relies on the XML
More informationAdvanced XSLT. Web Data Management and Distribution. Serge Abiteboul Ioana Manolescu Philippe Rigaux Marie-Christine Rousset Pierre Senellart
Advanced XSLT Web Data Management and Distribution Serge Abiteboul Ioana Manolescu Philippe Rigaux Marie-Christine Rousset Pierre Senellart Web Data Management and Distribution http://webdam.inria.fr/textbook
More informationCOMP9321 Web Application Engineering
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 http://webapps.cse.unsw.edu.au/webcms2/course/index.php?cid=2411 1 Extensible
More informationXML Extensible Markup Language
XML Extensible Markup Language Generic format for structured representation of data. DD1335 (Lecture 9) Basic Internet Programming Spring 2010 1 / 34 XML Extensible Markup Language Generic format for structured
More information