Extreme Java G Session 3 - Sub-Topic 4 XML Information Processing. Dr. Jean-Claude Franchitti
|
|
- Roy Jefferson
- 6 years ago
- Views:
Transcription
1 Extreme Java G Session 3 - Sub-Topic 4 XML Information Processing Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical Sciences 1 Agenda XML applications development tools for Java XML application Development using the XML Java APIs Java-based XML application support frameworks Advanced XML Parser Technology JDOM: Java-Centric API for XML JAXP: Java API for XML Processing Parsers comparison Latest W3C APIs and Standards for Processing XML XML Infoset, DOM Level 3, Canonical XML XML Signatures, XBase, XInclude XML Schema Adjuncts Java-Based XML Data Processing Frameworks 2 1
2 XML-Based Software Development Business Engineering Methodology Language + Process + Tools e.g., Rational Unified Process (RUP) XML Application Development Infrastructure Metadata Management (e.g., XMI) XML APIs (e.g., JAXP, JAXB) XML Tools (e.g., XML Editors, XML Parsers) XML Applications: Application(s) of XML XML-based applications/services (markup language mediators) MOM & POP Other Services (e.g., persistence, transaction, etc.) Application Infrastructure Frameworks 3 More on XML Information Modeling Using UML use cases to support the development of DTDs and XML Schemas Establish linking relationship See Family tree application of XML 4 2
3 Part I XML Application Development Tools for Java 5 Java-enabled XML Technologies XML provides a universal syntax for Java semantics (behavior) Portable, reusable data descriptions in XML Portable Java code that makes the data behave in various ways XML standard extension Basic plumbing that translates XML into Java parser, namespace support in the parser, simple API for XML (SAX), and document object model (DOM) XML data binding standard extension 6 3
4 XML Processors Characteristics An XML engine is a general purpose XML data processor An XML processor/parser is a software engine that checks the syntax (well-formedness)of XML documents If a schema (or DTD) is included, the parser can (optionally) validate the correctness of XML documents structure against it A parser reads the XML document s information and makes it accessible to the XML application via a standard API 7 Common XML APIs Document Object Model (DOM) API Tree structure-based API Issued as a W3C recommendation (10/98) See Session 5 Sub-Topic 1 Presentation Simple API for XML (SAX) Event-driven API Developed by David Megginson ElementHandler API Event-driven proprietary API provided by IBM s XML4J Pure Java APIs: JDOM (Open Source) and JAXP 8 4
5 Java API Packages java.xml.parsers The JAXP APIs, which provide a common interface for different vendors' SAX and DOM parsers. Two vendor-neutral factory classes: SAXParserFactory and DocumentBuilderFactory that give you a SAXParser and a DocumentBuilder, respectively. The DocumentBuilder, in turn, creates DOM-compliant Document object. org.w3c.dom Defines the Document class (a DOM), as well as classes for all of the components of a DOM. org.xml.sax Defines the basic SAX APIs. jaxax.xml.transform Defines the XSLT APIs that let you transform XML into other forms. 9 Simple API for XML (SAX) Parsing APIs 10 5
6 SAX API Packages org.xml.sax Defines the SAX interfaces. org.xml.sax.ext Defines SAX extensions that are used when doing more sophisticated SAX processing, for example, to process a document type definitions (DTD) or to see the detailed syntax for a file. org.xml.sax.helpers Contains helper classes that make it easier to use SAX -- for example, by defining a default handler that has null-methods for all of the interfaces, so you only need to override the ones you actually want to implement. javax.xml.parsers Defines the SAXParserFactory class which returns the SAXParser. Also defines exception classes for reporting errors. 11 DOM Parsing APIs 12 6
7 DOM API Packages org.w3c.dom Defines the DOM programming interfaces for XML (and, optionally, HTML) documents, as specified by the W3C. javax.xml.parsers Defines the DocumentBuilderFactory class and the DocumentBuilder class, which returns an object that implements the W3C Document interface. The factory that is used to create the builder is determined by the javax.xml.parsers system property, which can be set from the command line or overridden when invoking the newinstance method. This package also defines the ParserConfigurationException class for reporting errors. 13 XSLT APIs 14 7
8 XSLT API Packages See Session 3 handout on Processing XML Documents in Java Using XPath and XSLT javax.xml.transform Defines the TransformerFactory and Transformer classes, which you use to get a object capable of doing transformations. After creating a transformer object, you invoke its transform() method, providing it with an input (source) and output (result). javax.xml.transform.dom Classes to create input (source) and output (result) objects from a DOM. javax.xml.transform.sax Classes to create input (source) from a SAX parser and output (result) objects from a SAX event handler. javax.xml.transform.stream Classes to create input (source) and output (result) objects from an I/O stream. 15 JAXP and Associated XML APIs JAXP: Java API for XML Parsing Common interface to SAX, DOM, and XSLT APIs in Java, regardless of which vendor's implementation is actually being used. JAXB: Java Architecture for XML Binding Mechanism for writing out Java objects as XML (marshalling) and for creating Java objects from such structures (unmarshalling). JDOM: Java DOM Provides an object tree which is easier to use than a DOM tree, and it can be created from an XML structure without a compilation step. JAXM: Java API for XML Messaging Mechanism for exchanging XML messages between applications. JAXR: Java API for XML Registries Mechanism for publishing available services in an external registry, and for consulting the registry to find those services. 16 8
9 Content of Jar Files jaxp.jar (interfaces) javax.xml.parsers javax.xml.transform javax.xml.transform.dom javax.xml.transform.sax javax.xml.transform.stream crimson.jar (interfaces and helper classes) org.xml.sax org.xml.sax.helpers org.xml.sax.ext org.w3c.dom xalan.jar (contains all of the above implementation classes) 17 Sample XML parsers and engines XML parsers RXP, Dan Connolly s XML parser, XML-Toolkit, LTXML, expat, TCLXML, xparse, XP, DataChannel XPLparser (DXP), XML:Parse, PyXMLTok, Lark, Microsoft s XML parser, IBM s XML for Java, Apache s Xerces-J, Aefred, xmlproc, xmllib, Windows foundation classes, Java Project X Parser (Crimson), OpenXML Parser, Oracle XML Parser, etc. SGML/XML parsers SGMLSpm, SP 18 9
10 Sample XML Parsers and Engines (continued) XML middleware: Xpublish (Media Design), XML middleware 1.0 DSSSL engines: Jade 1.1, DAE SDK, DAE Server SDK XSL processors: Sparse, Microsoft XSL processor, doproc, xslj, LotusXSL, Xalan, XSL:P XLink processors: xmllinks 19 Comprehensive List of XML Processors A comprehensive list of parsers is available at http// Includes links to latest product pages Includes Version numbers, Licensing information, and Platform details Research work being done around MetaParsers and parallel XML parsers 20 10
11 Mainstream Java-Based XML Processors Sun s Java Project X Parser Donated on April 13, 2000 to the Apache s XML Project under the name Crimson Apache s XercesJ XercesJ is strongly recommended for this course Oracle s XML Parser for Java 21 Other Java-Based XML Processors Sun s JAXP Jason Hunter and Brett McLaughlin s OpenSource JDOM IBM Alphaworks s XML for Java (XML4J) Based on the Apache Xerces XML Parser DataChannel s XJParser 22 11
12 XML Data Binding Standard Extension Aims to automatically generate substantial portions of the Java platform code that processes XML data A Sun project, codenamed Adelard See JSR-31 XML Data Binding Specification see 23 Part II XML Application Development Using the XML Java APIs 24 12
13 Typical XML Processor Installation Pick a processor based on the features it provides to match your requirements Download and install the latest (or supported) version of the JDK from Install the XML processor Update the PATH and CLASSPATH variables as needed, and test the processor 25 Reading XML Documents Use Apache s XercesJ or Alphaworks XML Parser for Java The SimpleParse.java application provided in section 2.4 of XML and Java will need to be adapted to support the latest version of the parsers We suggest looking at the source for the sample applications located in XercesSamples.jar For testing, use XML and Java s sample document or the personal.xml sample XML document provided with XML4J 26 13
14 Presenting XML Documents Using Java Tools Presenting an XML document requires processing of the XML document by accessing its internal stucture An XML document s structure can be accessed using the various XML APIs Various third party tools have been implemented using such APIs to apply XSL style sheets to XML documents and generate HTML output (e.g., Xalan, LotusXSL) 27 XML Data Exchange Protocols Message format alternatives Text-based (e.g., EDI, RFC822, SGML, XML) Binary (e.g., ASN.1, CORBA/IIOP) See XML and Java sections 7.2, and 7.4 An API that provide a common interface to work with EDI or XML/EDI objects is supported by OpenBusinessObjects Guidelines for using XML for EDI are provided at and
15 XML Fragment Interchange Defines a way to send fragments of an XML document without having to send all of the containing document up to the fragment Fragments are not limited to predetermined entities The approach captures the context that the fragment had in the larger document to make it available to the recipient See 29 XML APIs Characteristics DOM API: (See In DOM, an XML document is represented as a tree, which becomes accessible via the API The XML processor generates the whole tree in memory and hands it to an application program SAX API: (See Does not generate a data structure Scans an XML document and generate events as elements are processed Events can be trapped by an application program via the API ElementHandler: Event-driven like SAX, but also creates a DOM tree Open Source Pure Java API (JDOM) 30 15
16 Related Java Bindings Sun s Java API for XML Parsing (JAXP) Provides a standard way to seamlessly integrate any XML-compliant parser with a Java application Developers can swap between XML parsers without changing the application The reference implementation uses Sun s Java Project X as its default XML parser DOM 3.0, DOM 2.0 and DOM 1.0 Java binding specification ( Level /java-language-binding.zip ) 31 XML Data Processing Examples Section 2.7 of XML and Java covers various examples of XML document processing using the DOM, SAX, and ElementHandler APIs. Session 2 s Sub-Topic on Enterprise Application Integration with XML and Java illustrates the use of XML for data interchange 32 16
17 Part III Java-Based Application Support Frameworks 33 XML MOM and POP Frameworks An XML support framework must include: XML Parser (conformity checker) XML applications that use the output of the Parser to achieve unique objectives) See sub-section of the weekly notes on XML MOM Application Server Frameworks for a complete description of a general purpose XML MOM framework 34 17
18 POP Applications Support Frameworks Objective is to serve XML HTML generation applications are provided Sample solutions XML::Parser module with Perl XML processing via Java servlets e.g., IBM Alphaworks XMLEnabler See session 2 s sub-topic on XML POP Application Server Framework Apache s Cocoon Active Server Pages (ASP) with MSXML (see Serving XML with ASP, and rocket 35 MOM Applications Support Frameworks Many applications can be envisioned One objective is to support application integration via XML data interchange Sample solutions: XML::Parser module with Perl XML processing via Java applications 36 18
19 Part IV Advanced XML Parser Technology 37 XML Data Processing Patterns Processing and Transformation Reading XML Documents Working with Encodings in XML Documents XML Document to/from DOM (generation) Printing XML Documents from DOM Building and Working with DOM Structures Creating a DOM Structure from Scratch Building a Valid DOM Tree Manipulations Using DOM API 38 19
20 JDOM JSR-102 Beta 6 Available Lightweight API with best of SAX and DOM Small memory footprint Does not require whole document in memory Easy to use JDOM: String text = element.gettext(); DOM: String content = element.getfirstchild().getvalue(); Converting from DOM to JDOM Use org.jdom.input.dombuilder class 39 JAXP JAXP 1.1 Vendor-neutral code for parsing/transforming documents Updated support for SAX 2.0 & DOM Level 2 standards Addition of TraXP DOM 2 usage patterns: Manipulate Documents, Elements, and Nodes (DOM 1) Views, Stylesheets, Events, traversal, DOM
21 Parsers Comparison See: Apache Xerces supports XML-Schema, XSL-T, SAX 2.0, DOM Level 2 1.0, and is open source The Organization for Advancement of Structured Information Systems (OASYS) has defined an XML conformance test suite Sun s Parser passes all the tests Oracle s v2 XML parser is most efficient 41 Part V Latest W3C APIs and Standards for Processing XML 42 21
22 XML Infoset Candidate recommendation (May 14, 2001) XML Information Set is a work in progress Provides a means to describe the abstract logical representation of an XML document Infoset s prime citizens are information items Information items can be used to express the data model of XML documents, and DTDs Not an API 43 DOM Level 3 W3C Working Draft (June 5, 2001) Focus on Platform and language neutral interface to DOM 44 22
23 Canonical XML W3C Recommendation (March 15, 2001) Canonical XML will be used to represent the result of parsing an XML document Canonical XML is necessary to establish the logical equivalence of XML documents Every well-formed XML document has a unique structurally equivalent canonical XML document When Canonicalizing an XML document, parsers preserves the minimum information needed by an XML application 45 XML Signatures Joint W3C and IETF Working Group W3C Candidate Recommendation (April 19, 2001) XML compliant syntax used for representing the signature of Web resources and portions of protocol messages Procedures for computing and verifying such signatures (I.e., integrity and authentication) Does not address encryption, and authorization 46 23
24 XBase W3C Working Draft (February 21, 2001) xml:base may be inserted in XML documents to specify a base URI other than the base URI of the document or external entity, which is normally used to resolve relative URIs Equivalent of HTML BASE functionality 47 XInclude W3C Working Draft (May 16, 2001) Processing model and syntax for merging multiple Infosets in a single composite Infoset Enables modularity and merging capabilities 48 24
25 XML Schema Adjuncts Mechanism for extending XML schema languages, and for providing information from such extensions to programs that process XML instances Schema Adjunct Framework XML-based language used to associate domainspecific data (I.e., adjunct-data) with schemas and their instances, effectively extending the power of existing XML schema languages such as DTDs or XML Schema Domain specific data include O/R mappings, etc. 49 Part VI Java-Based XML Data Processing Frameworks and APIs 50 25
26 Applets, Servlets, and JSPs These component models provide infrastructure support for XML processing See Session 6 handout on Applets, Servlets, and JSPs 51 Xerces-J Xerces 2 is a redesigned implementation of Xerces that emphasizes modularity Xerces 2 s architecture is based on the Xerces Native Interface (XNI) which streams the processing of XML documents via Scanner, Validator and Parser modules A parser configuration object controls the use of various internal components (e.g., symbol table, validator, etc.) 52 26
27 Xalan Xalan-J version is the latest Provides XSL-T processing for transforming XML documents into HTML, text, or other XML document types Built on top of SAX 2.0, DOM Level 2 1.0, JAXP 1.1 Implements the TraX subset of JAXP Xang Framework for building data-driven, crossplatform Web applications that integrate disparate data sources Separates data, logic and presentation Example.xap command handler Xang: <xap onget='doget();' ongetpurchase='run_purchase();'> Identifies element addressed byurls Map the HTTP request to an application method on the targeted element Gather a body of script available to the command handler for the targeted element Dispatch the HTTP request to the command handler 54 27
28 Latest version is 0.19 FOP Print formatter driven by XSL-FO objects Formatted output is in PDF format for now Can be embedded in a Java application by instantiating org.apache.fop.apps.driver 55 Cocoon Cocoon 2 is a completely redesigned version It supports an event-based model, and manages memory very efficiently 56 28
29 SOAP Lightweight protocol for information exchange Envelope Framework that describes a message and its processing Set of encoding rules Used to express instances of application datatypes Convention RPC calls and responses Apache distributes an implementation of SOAP referred to as AXIS 57 Batik Provides a set of core modules to support SVG solutions SVG parsers SVG generators SVG implementations 58 29
30 Crimson Implements JAXP 1.1 without the java.xml.transform package Supports SAX 2.0, and DOM Level Xalan-J 2 implements the missing package Based on Sun Project X parser Will move under Xerces-J 2 59 Part VII Conclusions 60 30
31 Summary Mainstream MOM and POP application development tools are being supported by IBM, Sun, Oracle, and Microsoft Java MOM and POP applications are developed using Java bindings to the DOM, and SAX APIs XML provides a standard data interchange message format Parsers support a common set of XML data processing patterns JDOM is a lightweight API that supports the best of DOM and SAX JAXP 1.1 provides parser-independent interfaces Important comparison criteria for parsers are the support of the latest W3C specification, conformance, and efficiency 61 Summary (continued) The latest W3C APIs and standards for processing XML have not reached the level of full recommendations and are not embedded in the functionality supported by parsers Various specialized XML processing frameworks are being developed by the Apache software foundation. These frameworks are processing engines that leverage off of parsing and rendition mechanisms, and operate on top of common Java components models The W3C XML-Fragments specification focuses on the handling of XML document fragments MOM and POP (Java-based) application support frameworks are still emerging and are becoming common facilities in the ubiquitous Web Services Infrastructure 62 31
32 More on Industry-Specific Markup Languages (see Extensible Business Reporting Language (XBRL) Bank Internet Payment System (BIPS) Electronic Business XML (EbXML) Privacy-Enabled Customer Data Interchange (CPExchange) Visa XML Invoice Specification Legal XML NewsML Electronic Catalog XML (ecx) Open ebook Publication Structure 63 32
Agenda. Summary of Previous Session. XML for Java Developers G Session 5 - Main Theme XML Information Processing (Part I)
XML for Java Developers G22.3033-002 Session 5 - Main Theme XML Information Processing (Part I) Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical
More informationAgenda. Summary of Previous Session. XML for Java Developers G Session 6 - Main Theme XML Information Processing (Part II)
XML for Java Developers G22.3033-002 Session 6 - Main Theme XML Information Processing (Part II) Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical
More informationXML for Java Developers G Session 3 - Main Theme XML Information Modeling (Part I) Dr. Jean-Claude Franchitti
XML for Java Developers G22.3033-002 Session 3 - Main Theme XML Information Modeling (Part I) Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical
More informationXML for Java Developers G Session 3 - Main Theme XML Information Modeling (Part I) Dr. Jean-Claude Franchitti
XML for Java Developers G22.3033-002 Session 3 - Main Theme XML Information Modeling (Part I) Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical
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 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 informationAgenda. Summary of Previous Session. XML for Java Developers G Session 7 - Main Theme XML Information Rendering (Part II)
XML for Java Developers G22.3033-002 Session 7 - Main Theme XML Information Rendering (Part II) Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical
More informationAgenda. XML Generics. XML for Java Developers G Session 1 - Main Theme Markup Language Technologies (Part I)
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
More informationXML for Java Developers G Session 4 - Main Theme XML Information Modeling (Part II) Dr. Jean-Claude Franchitti
XML for Java Developers G22.3033-002 Session 4 - Main Theme XML Information Modeling (Part II) Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical
More informationXML Processor User Guide
ucosminexus Application Server XML Processor User Guide 3020-3-Y22-10(E) Relevant program products See the manual ucosminexus Application Server Overview. Export restrictions If you export this product,
More informationXML for Java Developers G Session 2 - Sub-Topic 1 Beginning XML. Dr. Jean-Claude Franchitti
XML for Java Developers G22.3033-002 Session 2 - Sub-Topic 1 Beginning XML Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical Sciences Objectives
More informationIntroduction to XML. XML: basic elements
Introduction to XML XML: basic elements XML Trying to wrap your brain around XML is sort of like trying to put an octopus in a bottle. Every time you think you have it under control, a new tentacle shows
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 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 informationJAXP: Beyond XML Processing
JAXP: Beyond XML Processing Bonnie B. Ricca Sun Microsystems bonnie.ricca@sun.com bonnie@bobrow.net Bonnie B. Ricca JAXP: Beyond XML Processing Page 1 Contents Review of SAX, DOM, and XSLT JAXP Overview
More informationKINGS COLLEGE OF ENGINEERING 1
KINGS COLLEGE OF ENGINEERING Department of Computer Science & Engineering Academic Year 2011 2012(Odd Semester) QUESTION BANK Subject Code/Name: CS1401-Internet Computing Year/Sem : IV / VII UNIT I FUNDAMENTALS
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 informationCHAPTER 1 USING JAXP FOR XML TRANSFORMATIONS
CHAPTER 1 USING JAXP FOR XML TRANSFORMATIONS OBJECTIVES After completing Using JAXP for XML Transformations, you will be able to: Describe the role of JAXP in XML transformations. Instantiate a Transformer
More informationAgenda Summary of Previous Session / Review New Syllabus
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
More informationProgramming Web Services in Java
Programming Web Services in Java Description Audience This course teaches students how to program Web Services in Java, including using SOAP, WSDL and UDDI. Developers and other people interested in learning
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 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 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 informationDEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
SHRI ANGALAMMAN COLLEGE OF ENGINEERING & TECHNOLOGY (An ISO 9001:2008 Certified Institution) SIRUGANOOR,TRICHY-621105. DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING Year/Sem: IV / VII CS1401 INTERNET
More informationThe Extensible Markup Language (XML) and Java technology are natural partners in helping developers exchange data and programs across the Internet.
1 2 3 The Extensible Markup Language (XML) and Java technology are natural partners in helping developers exchange data and programs across the Internet. That's because XML has emerged as the standard
More informationParsing XML documents. DOM, SAX, StAX
Parsing XML documents DOM, SAX, StAX XML-parsers XML-parsers are such programs, that are able to read XML documents, and provide access to the contents and structure of the document XML-parsers are controlled
More informationThe XML Metalanguage
The XML Metalanguage Mika Raento mika.raento@cs.helsinki.fi University of Helsinki Department of Computer Science Mika Raento The XML Metalanguage p.1/442 2003-09-15 Preliminaries Mika Raento The XML Metalanguage
More informationJ2EE Interview Questions
1) What is J2EE? J2EE Interview Questions J2EE is an environment for developing and deploying enterprise applications. The J2EE platform consists of a set of services, application programming interfaces
More informationXML Update. Royal Society of the Arts London, December 8, Jon Bosak Sun Microsystems
XML Update Royal Society of the Arts London, December 8, 1998 Jon Bosak Sun Microsystems XML Basics...A-1 The XML Concept...B-1 XML in Context...C-1 XML and Open Standards...D-1 XML Update XML Basics XML
More informationIntroduction to XML. Asst. Prof. Dr. Kanda Runapongsa Saikaew Dept. of Computer Engineering Khon Kaen University
Introduction to XML Asst. Prof. Dr. Kanda Runapongsa Saikaew Dept. of Computer Engineering Khon Kaen University http://gear.kku.ac.th/~krunapon/xmlws 1 Topics p What is XML? p Why XML? p Where does XML
More informationCall: JSP Spring Hibernate Webservice Course Content:35-40hours Course Outline
JSP Spring Hibernate Webservice Course Content:35-40hours Course Outline Advanced Java Database Programming JDBC overview SQL- Structured Query Language JDBC Programming Concepts Query Execution Scrollable
More informationJay Lofstead under the direction of Calton Pu
Literature Survey XML-based Transformation Engines Jay Lofstead (lofstead@cc) under the direction of Calton Pu (calton@cc) 2004-11-28 Abstract Translation has been an issue for humans since the dawn of
More informationIntroduction to XML 3/14/12. Introduction to XML
Introduction to XML Asst. Prof. Dr. Kanda Runapongsa Saikaew Dept. of Computer Engineering Khon Kaen University http://gear.kku.ac.th/~krunapon/xmlws 1 Topics p What is XML? p Why XML? p Where does XML
More informationXML Toolkit for z/os SA
XML Toolkit for z/os User s Guide SA22-7932-06 XML Toolkit for z/os User s Guide SA22-7932-06 Note Before using this information and the product it supports, be sure to read the general information under
More informationIT6801-SERVICE ORIENTED ARCHITECTURE
ST.JOSEPH COLLEGE OF ENGINEERING DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING IT 6801-SERVICE ORIENTED ARCHITECTURE UNIT I 2 MARKS 1. Define XML. Extensible Markup Language(XML) is a markup language
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 informationMarkup Languages SGML, HTML, XML, XHTML. CS 431 February 13, 2006 Carl Lagoze Cornell University
Markup Languages SGML, HTML, XML, XHTML CS 431 February 13, 2006 Carl Lagoze Cornell University Problem Richness of text Elements: letters, numbers, symbols, case Structure: words, sentences, paragraphs,
More informationJAVA CREATE XML DOCUMENT EXAMPLE
page 1 / 5 page 2 / 5 java create xml document pdf Java XML Tutorial for Beginners - Learn Java XML in simple and easy steps starting from basic to advanced concepts with examples including Overview, Java
More informationDocument Parser Interfaces. Tasks of a Parser. 3. XML Processor APIs. Document Parser Interfaces. ESIS Example: Input document
3. XML Processor APIs How applications can manipulate structured documents? An overview of document parser interfaces 3.1 SAX: an event-based interface 3.2 DOM: an object-based interface Document Parser
More informationApplication Servers G Session 5 - Main Theme Object Management Architectures. Dr. Jean-Claude Franchitti
Application Servers G22.3033-011 Session 5 - Main Theme Object Management Architectures Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical Sciences
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 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 informationWeb Technologies Present and Future of XML
Web Technologies Present and Future of XML Faculty of Computer Science A.I.Cuza University of Iasi, Romania busaco@infoiasi.ro http://www.infoiasi.ro/~busaco Ph.D. Student: Multimedia Object Manipulation
More informationXML Technologies Dissected Erik Wilde Swiss Federal Institute of Technology, Zürich
XML Technologies Dissected Erik Wilde Swiss Federal Institute of Technology, Zürich The lack of well-defined information models in many XML technologies can generate compatibility problems and lower the
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 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 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 informationWebSphere 4.0 General Introduction
IBM WebSphere Application Server V4.0 WebSphere 4.0 General Introduction Page 8 of 401 Page 1 of 11 Agenda Market Themes J2EE and Open Standards Evolution of WebSphere Application Server WebSphere 4.0
More informationKINGS COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY. (An NBA Accredited Programme) ACADEMIC YEAR / EVEN SEMESTER
KINGS COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY (An NBA Accredited Programme) ACADEMIC YEAR 2012-2013 / EVEN SEMESTER YEAR / SEM : IV / VIII BATCH: 2009-2013 (2008 Regulation) SUB CODE
More informationExtreme Java G Session 3 - Sub-Topic 6 XML Information Retrieval. Dr. Jean-Claude Franchitti
Extreme Java G22.3033-007 Session 3 - Sub-Topic 6 XML Information Retrieval Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical Sciences 1 Agenda
More informationWeb Services & Axis2. Architecture & Tutorial. Ing. Buda Claudio 2nd Engineering Faculty University of Bologna
Web Services & Axis2 Architecture & Tutorial Ing. Buda Claudio claudio.buda@unibo.it 2nd Engineering Faculty University of Bologna June 2007 Axis from SOAP Apache Axis is an implementation of the SOAP
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 informationOracle Fusion Middleware
Oracle Fusion Middleware Programming XML for Oracle WebLogic Server 11g Release 1 (10.3.5) E13724-03 April 2011 This document is a resource for software developers who design and develop applications that
More informationDISARM Document Information Set Articulated Reference Model
February 24, 2002 DISARM Document Information Set Articulated Reference Model Rick Jelliffe Discussion Draft This note proposes an ISO standard "Document Information Set Articulated Reference Model" be
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 Programming in Java
Mag. iur. Dr. techn. Michael Sonntag XML Programming in Java DOM, SAX XML Techniques for E-Commerce, Budapest 2005 E-Mail: sonntag@fim.uni-linz.ac.at http://www.fim.uni-linz.ac.at/staff/sonntag.htm Michael
More informationProgramming with XML in the Microsoft.NET Framework
Programming with XML in the Microsoft.NET Framework Key Data Course #: 2663A Number of Days: 3 Format: Instructor-Led This course syllabus should be used to determine whether the course is appropriate
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 informationlanguages for describing grammar and vocabularies of other languages element: data surrounded by markup that describes it
XML and friends history/background GML (1969) SGML (1986) HTML (1992) World Wide Web Consortium (W3C) (1994) XML (1998) core language vocabularies, namespaces: XHTML, RSS, Atom, SVG, MathML, Schema, validation:
More informationSRI VIDYA COLLEGE OF ENGINEERING & TECHNOLOGY- VIRUDHUNAGAR
UNIT IV Part A 1. WHAT IS THE USE OF XML NAMESPACE? XML allows document authors to create custom elements. This extensibility can result in naming collisions (i.e. different elements that have the same
More informationSAX & DOM. Announcements (Thu. Oct. 31) SAX & DOM. CompSci 316 Introduction to Database Systems
SAX & DOM CompSci 316 Introduction to Database Systems Announcements (Thu. Oct. 31) 2 Homework #3 non-gradiance deadline extended to next Thursday Gradiance deadline remains next Tuesday Project milestone
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 informationXML Applications. Introduction Jaana Holvikivi 1
XML Applications Introduction 1.4.2009 Jaana Holvikivi 1 Outline XML standards Application areas 1.4.2009 Jaana Holvikivi 2 Basic XML standards XML a meta language for the creation of languages to define
More informationX-S Framework Leveraging XML on Servlet Technology
X-S Framework Leveraging XML on Servlet Technology Rajesh Kumar R Abstract This paper talks about a XML based web application framework that is based on Java Servlet Technology. This framework leverages
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 informationEMC Documentum xdb. High-performance native XML database optimized for storing and querying large volumes of XML content
DATA SHEET EMC Documentum xdb High-performance native XML database optimized for storing and querying large volumes of XML content The Big Picture Ideal for content-oriented applications like dynamic publishing
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 informationJAVA-Based XML Utility for the NIST Machine Tool Data Repository
NISTIR 6581 2000 JAVA-Based XML Utility for the NIST Machine Tool Data Repository Joe Falco National Institute of Standards and Technology 100 Bureau Drive, Stop 823 Gaithersburg, MD 20899-8230 (301) 975-3455
More informationXML Primer Plus By Nicholas Chase
Table of Contents Index XML Primer Plus By Nicholas Chase Publisher : Sams Publishing Pub Date : December 16, 2002 ISBN : 0-672-32422-9 Pages : 1024 This book presents XML programming from a conceptual
More informationSome more XML applications and XML-related standards (XLink, XPointer, XForms)
Some more XML applications and XML-related standards (XLink, XPointer, XForms) Patryk Czarnik XML and Applications 2014/2015 Lecture 12 19.01.2015 Standards for inter-document relations XPointer addressing
More informationJava EE 7: Back-end Server Application Development 4-2
Java EE 7: Back-end Server Application Development 4-2 XML describes data objects called XML documents that: Are composed of markup language for structuring the document data Support custom tags for data
More informationAgenda. Summary of Previous Session. XML for Java Developers G Session 9 - Main Theme XML Information Retrieval (Part I)
XML for Java Developers G22.3033-002 Session 9 - Main Theme XML Information Retrieval (Part I) Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical
More informationOracle. Exam Questions 1z Java Enterprise Edition 5 Web Services Developer Certified Professional Upgrade Exam. Version:Demo
Oracle Exam Questions 1z0-863 Java Enterprise Edition 5 Web Services Developer Certified Professional Upgrade Exam Version:Demo 1.Which two statements are true about JAXR support for XML registries? (Choose
More informationSimple API for XML (SAX)
Simple API for XML (SAX) Asst. Prof. Dr. Kanda Runapongsa (krunapon@kku.ac.th) Dept. of Computer Engineering Khon Kaen University 1 Topics Parsing and application SAX event model SAX event handlers Apache
More informationDEVELOPING A MESSAGE PARSER TO BUILD THE TEST CASE GENERATOR
CHAPTER 3 DEVELOPING A MESSAGE PARSER TO BUILD THE TEST CASE GENERATOR 3.1 Introduction In recent times, XML messaging has grabbed the eyes of everyone. The importance of the XML messages with in the application
More informationCOMP9321 Web Application Engineering
COMP9321 Web Application Engineering Semester 2, 2017 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 http://webapps.cse.unsw.edu.au/webcms2/course/index.php?cid= 2465 1
More informationDistributed Multitiered Application
Distributed Multitiered Application Java EE platform uses a distributed multitiered application model for enterprise applications. Logic is divided into components https://docs.oracle.com/javaee/7/tutorial/overview004.htm
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 informationJava J Course Outline
JAVA EE - J2SE - CORE JAVA After all having a lot number of programming languages. Why JAVA; yet another language!!! AND NOW WHY ONLY JAVA??? CHAPTER 1: INTRODUCTION What is Java? History Versioning The
More informationContents. Markup Language and the need of XML. Using environment XML and growth direction. To understand dxml standard.
Contents Markup Language and the need of XML. Using environment XML and growth direction. To understand dxml standard. d An application of XML documents. Markup Language and the need of XML Markup definition
More informationIT2353 WEB TECHNOLOGY Question Bank UNIT I 1. What is the difference between node and host? 2. What is the purpose of routers? 3. Define protocol. 4.
IT2353 WEB TECHNOLOGY Question Bank UNIT I 1. What is the difference between node and host? 2. What is the purpose of routers? 3. Define protocol. 4. Why are the protocols layered? 5. Define encapsulation.
More information(9A05803) WEB SERVICES (ELECTIVE - III)
1 UNIT III (9A05803) WEB SERVICES (ELECTIVE - III) Web services Architecture: web services architecture and its characteristics, core building blocks of web services, standards and technologies available
More informationextensible Markup Language (XML) Announcements Sara Sprenkle August 1, 2006 August 1, 2006 Assignment 6 due Thursday Project 2 due next Wednesday
extensible Markup Language (XML) Sara Sprenkle Announcements Assignment 6 due Thursday Project 2 due next Wednesday Quiz TA Evaluation Sara Sprenkle - CISC370 2 1 Using the Synchronized Keyword Can use
More informationOracle Developer Day
Oracle Developer Day Sponsored by: Track # 1: Session #2 Web Services Speaker 1 Agenda Developing Web services Architecture, development and interoperability Quality of service Security, reliability, management
More informationCall: Core&Advanced Java Springframeworks Course Content:35-40hours Course Outline
Core&Advanced Java Springframeworks Course Content:35-40hours Course Outline Object-Oriented Programming (OOP) concepts Introduction Abstraction Encapsulation Inheritance Polymorphism Getting started with
More information1.264 Lecture 13 XML
1.264 Lecture 13 XML What is XML? Extensible Markup Language (XML) is: a World Wide Web Consortium (W3C) proposed recommendation for a file format to easily and cheaply distribute electronic documents
More informationBeginning To Define ebxml Initial Draft
Beginning To Define ebxml Initial Draft File Name Version BeginningToDefineebXML 1 Abstract This document provides a visual representation of how the ebxml Architecture could work. As ebxml evolves, this
More informationDictionary Driven Exchange Content Assembly Blueprints
Dictionary Driven Exchange Content Assembly Blueprints Concepts, Procedures and Techniques (CAM Content Assembly Mechanism Specification) Author: David RR Webber Chair OASIS CAM TC January, 2010 http://www.oasis-open.org/committees/cam
More informationODF API - ODFDOM. Svante Schubert Software Engineer Sun Microsystems, Hamburg
ODF API - ODFDOM Svante Schubert Software Engineer Sun Microsystems, Hamburg 1 Do you know ODF? The OASIS / ISO standard for office documents (2005/06) The document format of many office applications A
More informationVision of J2EE. Why J2EE? Need for. J2EE Suite. J2EE Based Distributed Application Architecture Overview. Umair Javed 1
Umair Javed 2004 J2EE Based Distributed Application Architecture Overview Lecture - 2 Distributed Software Systems Development Why J2EE? Vision of J2EE An open standard Umbrella for anything Java-related
More informationWorld-Wide Wide Web. Netprog HTTP
Web Services Based partially on Sun Java Tutorial at http://java.sun.com/webservices/ Also, XML, Java and the Future of The Web, Jon Bosak. And WSDL Tutorial at: http://www.w3schools.com/wsdl wsdl/ 1 World-Wide
More informationKNSP: A Kweelt - Niagara based Quilt Processor Inside Cocoon over Apache
KNSP: A Kweelt - Niagara based Quilt Processor Inside Cocoon over Apache Xidong Wang & Shiliang Hu {wxd, shiliang}@cs.wisc.edu Department of Computer Science, University of Wisconsin Madison 1. Introduction
More informationIBM Rational Application Developer for WebSphere Software, Version 7.0
Visual application development for J2EE, Web, Web services and portal applications IBM Rational Application Developer for WebSphere Software, Version 7.0 Enables installation of only the features you need
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 informationDeveloping Web Applications with Oracle and XML NYOUG General Meeting March 13, Jason Cohen
Developing Web Applications with Oracle and XML NYOUG General Meeting March 13, 2001 Jason Cohen Jason@webspedite.Com What is XML? Oracle and XML XSU SNC and XML Tuning XML Intermedia Text Issues How to
More informationMETADATA INTERCHANGE IN SERVICE BASED ARCHITECTURE
UDC:681.324 Review paper METADATA INTERCHANGE IN SERVICE BASED ARCHITECTURE Alma Butkovi Tomac Nagravision Kudelski group, Cheseaux / Lausanne alma.butkovictomac@nagra.com Dražen Tomac Cambridge Technology
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 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 informationAppendix A - Glossary(of OO software term s)
Appendix A - Glossary(of OO software term s) Abstract Class A class that does not supply an implementation for its entire interface, and so consequently, cannot be instantiated. ActiveX Microsoft s component
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 information