Computer Science E-259 XML with Java

Lecture 5: XPath 1.0 (and 2.0) and XSLT 1.0 (and 2.0), Continued 22 October 2007 David J. Malan [email protected]

1 Copyright © 2007, David J. Malan . All Rights Reserved.

Computer Science E-259 Last Time ƒ ƒ ƒ ƒ ƒ

CSS Level 2 XPath 1.0 (and 2.0) XSLT 1.0 (and 2.0) TrAX Project 2

2 Copyright © 2007, David J. Malan . All Rights Reserved.

Last Time XPath 1.0 ƒ ƒ ƒ

Location Paths Data Types Functions

3 Copyright © 2007, David J. Malan . All Rights Reserved.

Last Time XSLT 1.0 ƒ ƒ ƒ

Nodes Elements Templates

4 Copyright © 2007, David J. Malan . All Rights Reserved.

Computer Science E-259 This Time ƒ

XSLT, Continued

5 Copyright © 2007, David J. Malan . All Rights Reserved.

XSLT 1.0, Continued Data Types ƒ ƒ ƒ ƒ ƒ ƒ

boolean number string node-set external object result tree fragment

6 Copyright © 2007, David J. Malan . All Rights Reserved.

XSLT 1.0, Continued Conditions ...

7 Copyright © 2007, David J. Malan . All Rights Reserved.

XSLT 1.0, Continued Conditions ... ... ... ...

8 Copyright © 2007, David J. Malan . All Rights Reserved.

XSLT 1.0, Continued Iteration ...

9 Copyright © 2007, David J. Malan . All Rights Reserved.

XSLT 1.0, Continued Iteration, Sorted ...

10 Copyright © 2007, David J. Malan . All Rights Reserved.

XSLT 1.0, Continued Patterns ...

11 Copyright © 2007, David J. Malan . All Rights Reserved.

XSLT 1.0, Continued Modes ... ...

12 Copyright © 2007, David J. Malan . All Rights Reserved.

XSLT 1.0, Continued Built-In Templates, Revisited

13 Copyright © 2007, David J. Malan . All Rights Reserved.

XSLT 1.0, Continued Priorities ...

Some Defaults node(), text() ns:foo, ns:bar foo, bar foo[1], foo/bar

-0.5 -0.25 0.0 0.5

14 Copyright © 2007, David J. Malan . All Rights Reserved.

XSLT 1.0, Continued Includes

contents have same precedence as those in including module

15 Copyright © 2007, David J. Malan . All Rights Reserved.

XSLT 1.0, Continued Imports

contents have lower precedence as those in importing module

16 Copyright © 2007, David J. Malan . All Rights Reserved.

XSLT 1.0, Continued Variables ...

values cannot be reassigned 17 Copyright © 2007, David J. Malan . All Rights Reserved.

XSLT 1.0, Continued Result Tree Fragments bazquux bazquux

18 Copyright © 2007, David J. Malan . All Rights Reserved.

XSLT 1.0, Continued Result Tree Fragments bazquux ⇒ bazquux

19 Copyright © 2007, David J. Malan . All Rights Reserved.

XSLT 1.0, Continued Copying Nodes ... ...

20 Copyright © 2007, David J. Malan . All Rights Reserved.

XSLT 1.0, Continued Outputting Nodes ... ... ... ... ...

21 Copyright © 2007, David J. Malan . All Rights Reserved.

XSLT 1.0, Continued Attribute Value Templates +

headquarters.jpg =

22 Copyright © 2007, David J. Malan . All Rights Reserved.

XSLT 1.0, Continued Multiple Source Documents

23 Copyright © 2007, David J. Malan . All Rights Reserved.

XSLT 1.0, Continued Recursion

24 Copyright © 2007, David J. Malan . All Rights Reserved.

XSLT 1.0, Continued Extension Elements and Functions

http://xml.apache.org/xalan-j/extensions.html http://xml.apache.org/xalan-j/extensionslib.html

25 Copyright © 2007, David J. Malan . All Rights Reserved.

Next Time Lecture 6 ƒ ƒ ƒ

Namespaces in XML 1.1 (Second Edition) SVG 1.1 XSL (XSL-FO) 1.1

26 Copyright © 2007, David J. Malan . All Rights Reserved.

Computer Science E-259 XML with Java

Lecture 5: XPath 1.0 (and 2.0) and XSLT 1.0 (and 2.0), Continued 22 October 2007 David J. Malan [email protected]

27 Copyright © 2007, David J. Malan . All Rights Reserved.

Computer Science E-259 - Fas Harvard

Computer Science E-259. XML with Java. Lecture 5: XPath 1.0 (and 2.0) and XSLT ... All Rights Reserved. Computer Science E-259. Last Time. ▫ CSS Level 2.

57KB Sizes 1 Downloads 171 Views

Recommend Documents

Computer Science E-259 - Fas Harvard
Apr 13, 2005 - 1. Copyright © 2007, David J. Malan . All Rights Reserved. Computer Science E-259. XML with Java. Lecture 11:.

Computer Science E-259 - Fas Harvard
“SVG is a language for describing two-dimensional graphics in XML. SVG allows ... Adapted from http://www.adobe.com/svg/basics/getstarted2.html. Viewable at ...

Computer Science E-259 - Fas Harvard
Computer Science E-259. XML with Java, Java ... Computer. Laptop. PDA. Web Server. JSP/servlet. JSP/servlet. EJB Server. EJB. EJB. DB. XML? ... Page 10 ...

Computer Science E-259 - Fas Harvard
Cut through the hype and get to the value. ▫ Focus on. ▫ practicality: what you need to know to do real work. ▫ applications: what are the tools and technologies.

Computer Science E-259 - Fas Harvard
Page 2 .... . . .... unidirectional hyperlinks of today's HTML, as well as.

Computer Science E-259 - Fas Harvard
All Rights Reserved. Computer Science E-259. XML with Java. Lecture 2: XML 1.1 and SAX 2.0.2. 24 September 2007. David J. Malan [email protected] ...

anchor.svg 1/1 - Fas Harvard
anchor.svg. 1/1 examples6/svg/. 1: 2:

foo.xml 1/1 - Fas Harvard
15: * characters are displayed as "\n", "\t", and "\r". 16: * explicitly, and line numbers are reported in errors. 17: *. 18: * @author Computer Science E-259. 19: **/.

books.xml 1/1 - Fas Harvard
2: . 3: DOCTYPE emails SYSTEM "emails.dtd">. 4: . 5:

README.txt 1/2 - Fas Harvard
3: Computer Science E-259. 4: 5: 6: OVERVIEW. 7: 8: In these directories are ... 13: * @author Computer Science E-259. 14: **/. 15: 16: public class TaxClient.

DiagServer.java 1/2 - Fas Harvard
DiagServer.java. 2/2 examples7/. 46: byteCount++;. 47: System.out.write(b); ... 2:

XML Schema (Second Edition) - Fas Harvard
After the release of XML 1.0, DTDs were soon recognized as insufficient. ▫ Work towards new schema standards began in early 1998. ▫ Different companies all ...

AttributeConverter1.xsl 1/2 - Fas Harvard
2/2 examples5/. 46: . 47: .... 2/2 examples5/. 44: 45: . 46: 47: . 48:  ...

XML Schema (Second Edition) - Fas Harvard
Establish a contract with trading partners. ▫ Documentation. ▫ Augmentation of instance with default values. ▫ Storage of application information ...

XPath 1.0 (and 2.0) - Fas Harvard
Computer Science E-259. This Time. ▫ CSS Level 2. ▫ XPath 1.0 (and 2.0). ▫ XSLT 1.0 (and 2.0). ▫ TrAX. ▫ Project 2 .... Displaying XML data on the Web as HTML.

Profiling a warehouse-scale computer - Harvard University
presents a detailed microarchitectural analysis of live data- center jobs, measured on more than 20,000 .... Continuous profiling We collect performance-related data from the many live datacenter workloads using ..... base with a well-defined feature

Profiling a warehouse-scale computer - Harvard University
Google to increasingly invest effort in automated, compiler- ... services that spend virtually all their time paying tax, and ...... Transactions of Computer. Systems ...

Horario FAS Docente.pdf
TALLER DE LENGUA. Y COMUNICACIÓN I. Código 0103011. Agustín Prado. SEMINARIO DE. PENSAMIENTO LÓGICO. MATEMÁTICO. Código 0207010.

Horario FAS Docente.pdf
Rosa Chavarría. DISEÑO DE. VESTUARIO. Código 0306051. Aurora Ayala. METODOLOGÍA DE. LA DANZA III. Código 0308053. Manuel Stagnaro. KINESIOLOGÍA II. Código 0317052. Moises Del Castillo. PSICOLOGÍA. GENERAL. Código 0201050. Doris Ramírez. HOR

The Future of Computer Science - Cornell Computer Science
(Cornell University, Ithaca NY 14853, USA). Abstract ... Where should I go to college? ... search engine will provide a list of automobiles ranked according to the preferences, .... Rather, members of a community, such as a computer science.

Computer Science E-259 Lectures - Computer Science E-259: XML ...
Sep 17, 2007 - most important new technology development of the last two years." Michael Vizard ... applications: what are the tools and technologies necessary to put ... XML. When. ▫ The World Wide Web Consortium (W3C) formed an XML.

Computer Science E-259
Jan 7, 2008 - Yahoo! UI Library http://developer.yahoo.com/yui/ ..... how to program in JavaScript and PHP, how to configure. Apache and MySQL, how to ...

Computer Science E-259
Nov 19, 2007 - labeling the information content of diverse data sources .... .... ELEMENT article (url, headline_text, source, media_type, cluster,.