3 Kinds of Libraries And some reflections on libraries in general As you arrive…please sit with your Tivoo groups.

Slides:



Advertisements
Similar presentations
XML Configuration in Java David Roossien CS62112/2009.
Advertisements

Architecture of the COREP-XBRL mapper Java based web application Uses only open source packages of Java + struts.jar for the GUI + poi.jar for the reading.
Defining XML The Document Type Definition. Document Type Definition text syntax for defining –elements of XML –attributes (and possibly default values)
Advanced XSLT. Branching in XSLT XSLT is functional programming –The program evaluates a function –The function transforms one structure into another.
Advanced XSLT II. Iteration in XSLT we sometimes wish to apply the same transform to a set of nodes we iterate through a node set the node set is defined.
1/7 ITApplications XML Module Session 8: Introduction to Programming with XML.
University of Jyväskylä/AHo & VLy Experiences of Document Transformations with XSLT and DOM Anne Honkaranta, Virpi Lyytikäinen, Pasi Tiitinen, University.
XSL XSLT and XPath 11-Apr-17.
XML Parsing Using Java APIs AIP Independence project Fall 2010.
©Silberschatz, Korth and Sudarshan10.1Database System Concepts W3C Activities HTML: is the lingua franca for publishing on the Web XHTML: an XML application.
31 Signs That Technology Has Taken Over Your Life: #6. When you go into a computer store, you eavesdrop on a salesperson talking with customers -- and.
Executable XML Present by 吳昆澤. Outline  Introduction  Simkin  Jelly  o:XML  Conclusion.
MC365 XML Parsers. Today We Will Cover: An overview of the Java API’s used for XML processing Creating an XML document in Java Parsing an XML document.
COMS W3156: Software Engineering, Fall 2001 Lecture #10: Planning and Estimation Janak J Parekh
CS 898N – Advanced World Wide Web Technologies Lecture 22: Applying XML Chin-Chih Chang
XML Technologies and Applications Rajshekhar Sunderraman Department of Computer Science Georgia State University Atlanta, GA 30302
Introduction to XML Extensible Markup Language
Mathematical Content Conversions David McKain 9 th September 2009.
Technical Track Session XML Techie Tools Tim Bornholt.
- 1 - Strategic Information Technology Ltd PUG Challenge Americas 2013 “XML Data Services” for the Business Developer William MacDonald Architect.
PHP and XML TP2653 Advance Web Programming. PHP and XML PHP5 – XML-based extensions, library and functionalities (current XAMPP PHP version is )
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
XML eXtensible Markup Language by Darrell Payne. Experience Logicon / Sterling Federal C, C++, JavaScript/Jscript, Shell Script, Perl XML Training XML.
XML and its applications: 4. Processing XML using PHP.
Introduction to XSLT By Ed Rosenthal And Dave Pion.
Session II Chapter 2 – Chapter 2 – XSLhttp://
SAX Parsing Presented by Clifford Lemoine CSC 436 Compiler Design.
Sheet 1XML Technology in E-Commerce 2001Lecture 7 XML Technology in E-Commerce Lecture 7 XSL Formatting Objects, Java Data Binding.
XML Transformations Eugenia Fernandez IUPUI. Stylesheet Technologies Browser-based Presentation HTML Cascading Stylesheets Programming-based Transformation.
1 In the good old days... Years ago… the WWW was made up of (mostly) static documents. –Each URL corresponded to a single file stored on some hard disk.
Introduction to XML Extensible Markup Language. What is XML XML stands for eXtensible Markup Language. A markup language is used to provide information.
Intro to XML Originally Presented by Clifford Lemoine Modified by Box.
Openadaptor XML Support Using openadaptor for XML processing Oleg Dulin,
WEB BASED DATA TRANSFORMATION USING XML, JAVA Group members: Darius Balarashti & Matt Smith.
Parsing java with XML. XML (Extensible Markup language). What is XML? a comprehensive, but difficult superset of HTML to allow you to define and manipulate.
XFSP : Cross Format Schema Protocol Flexible Networking via XML-Defined Packet Payloads Ltjg. Ekrem Serin TU Navy.
Selenium and Selenium on Rails. Agenda  Overview of Selenium Simple Selenium Tests Selenium IDE  Overview of Selenium on Rails  Problems with Selenium.
UB LIS 571 Soergel Lecture 6.2a Formatting documents for interpretation by computer programs. Document markup languages Dagobert Soergel Department of.
Web Technologies COMP6115 Session 4: Adding a Database to a Web Site Dr. Paul Walcott Department of Computer Science, Mathematics and Physics University.
Internet Technologies Review Week 1 How does Jigsaw differ from EchoServer.java? What abstractions are made available to the servlet writer (under.
XML Steve Fisher/RAL. 20 October 2000XML - Steve Fisher/RAL2 Warning Information may not be all completely up to date.
Storing Data. A Note About Creating Games Why do you want to store data? 1.Data files 2.Configuration files.
How to Parse.out File Prepared by Tim Jan 28, 2010.
WIRED Detector Description in XML Mark Dönszelmann, Applications for Physics and Infrastructure, IT, CERN XML Detector Description Workshop CERN, 14 April,
XML eXtensible Markup Language. XML A method of defining a format for exchanging documents and data. –Allows one to define a dialect of XML –A library.
COSC617 Project XML Tools Mark Liu Sanjay Srivastava Junping Zhang.
User Profiling using Semantic Web Group members: Ashwin Somaiah Asha Stephen Charlie Sudharshan Reddy.
Challenges in handling XML: performance and memory usage Sami Poikonen Republica oy.
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 1COMP9321, 15s2, Week.
Dom and XSLT Dom – document object model DOM – collection of nodes in a tree.
Applications of XML Oz OceanAtlas Software and NOAA/PMEL.
What is XML? eXtensible Markup Language eXtensible Markup Language A subset of SGML (Standard Generalized Markup Language) A subset of SGML (Standard Generalized.
XML and Object Serialization. Structure of an XML Document Header Root Element Start Tags / End Tags Element Contents – Child Elements – Text – Both (mixed.
©Silberschatz, Korth and Sudarshan10.1Database System Concepts W3C - The World Wide Web Consortium W3C - The World Wide Web Consortium.
Martin Kruliš by Martin Kruliš (v1.1)1.
Modern Programming Language. Web Container & Web Applications Web applications are server side applications The most essential requirement.
1 Java Server Pages A Java Server Page is a file consisting of HTML or XML markup into which special tags and code blocks are inserted When the page is.
Bayu Priyambadha, S.Kom. Static content  Web Server delivers contents of a file (html) 1. Browser sends request to Web Server 3. Web Server sends HTML.
Lecture Transforming Data: Using Apache Xalan to apply XSLT transformations Marc Dumontier Blueprint Initiative Samuel Lunenfeld Research Institute.
1 Workshop - ODFDOM Lars Behrmann Frank Meies Svante Schubert Sun Microsystems, Hamburg 1.
XML Parsers.
Selenium and Selenium on Rails
Java XML IS
Intro to XML.
XML in Web Technologies
Building an Integrable XBRL Portal Daniel Hamm German Central Bank
XML and its applications: 4. Processing XML using PHP
XML Parsers.
XML Programming in Java
Extensible Markup Language (XML)
Presentation transcript:

3 Kinds of Libraries And some reflections on libraries in general As you arrive…please sit with your Tivoo groups

In Class Today Libraries for parsing XML Libraries for dealing with Dates Libraries for outputting HTML Reflections

Libraries for XML DOM - Document Object Model SAX - Simple API for XML JDOM - “a Java-based document object model for XML files” XPath – an added bonus

Parsing with DOM

Parsing with SAX

Parsing with JDOM

XPath

In Class Today Libraries for parsing XML Libraries for dealing with Dates Libraries for outputting HTML Reflections

Unix Epoch Time and “Human” Views of Time Sunday, November 4, 2012, 1:59am. What’s wrong with converting the above date to epoch time?

Java’s Built in Calendar class

Joda’s Parsing Or for more fancy formatting…

In Class Today Libraries for parsing XML Libraries for dealing with Dates Libraries for outputing HTML Reflections

gagawa

JSP

In Class Today Libraries for parsing XML Libraries for dealing with Dates Libraries for outputting HTML Reflections

Reflections on Libraries It’s usually not a good idea to hand-parse a standard format (unless you’re really looking for quick-n-dirty) In Java, there’s almost always a “built in” way to do what you want Using libraries has a cost, so you almost never want to use them if the code you’d be replacing is small But do make your coding a pleasure