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

Oct 22, 2007 - Computer Science E-259. XML with Java. Lecture 5: ... XPath 1.0. ▫ Location Paths. ▫ Data Types ... Data Types. ▫ boolean. ▫ number. ▫ string.

57KB Sizes 1 Downloads 308 Views

Recommend Documents

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,.

TEXTS IN COMPUTER SCIENCE
Java — Designed as a language to support mobile programs, Java has special .... We offer a few low-level coding hints that are helpful in building quality programs. ...... cheap in selecting your table size or else you will pay the price later.

Computer Science E-259
Oct 1, 2007 - DOCTYPE students SYSTEM "student.dtd">.

Computer Science E-259
Nov 29, 2007 - these foundations, the course will explore in detail a number of case studies that utilize XML in e-business: e-commerce, web personalization, ...

Computer Science E-259
Oct 1, 2007 - By Definition. ▫ The result of parsing a document with a DOM parser is a. DOM tree that matches the structure of that document. ▫ After parsing is ...

COMPUTER SCIENCE - Pune University
Poona College of Arts, Science and Commerce, Pune 411 001. 7. 001. 070 ... Sinhagad Technical Education Society's B.C.S. College, Pune 411 041.( 878-.

Computer Science E-259
Dec 3, 2007 - Redefines simple and complex types, groups, and attribute groups from an external schema redefine. Describes the format of non-XML data ...

BS Computer Science - GCUF
Nov 1, 2015 - GOVERNMENT COLLEGE UNIVERSITY, FAISALABAD. 2nd MERIT LIST OF BS Computer Science (EVENING). FOR FALL, 2015-2016.

Computer Science E-259
Nov 19, 2007 - ELEMENT article (url, headline_text, source, media_type, cluster, tagline, document_url ... http://www.oasis-open.org/specs/index.php#dbv4.1.

Computer Science E-259
Nov 29, 2007 - students with previous Java programming and web development experience, this course introduces XML as a key enabling technology in today's e-business applications. Students will learn the fundamentals of XML: schemas, XSL stylesheets,

Computer Science E-259
Oct 22, 2007 - 6. Copyright © 2007, David J. Malan . All Rights Reserved. XSLT 1.0, Continued. Data Types. ▫ boolean. ▫ number. ▫ string. ▫ node-set. ▫ external object. ▫ result tree fragment ...

Computer Science E-259
Jan 7, 2008 - . 4019 2445 .... with SQL, and how to use Ajax with both XML and JSON. The course ...

Computer Science E-259
Oct 1, 2007 - structure and content of an XML document. ▫ SAX does this by the type and order of events that are invoked. ▫ DOM does this by using objects in ...

BS Computer Science - GCUF
Nov 1, 2015 - GOVERNMENT COLLEGE UNIVERSITY, FAISALABAD. 2nd MERIT LIST OF BS Computer Science (EVENING). FOR FALL, 2015-2016.

TEXTS IN COMPUTER SCIENCE
thousand bright students, so look there for errata and revised solutions. ..... content, just like the house numbers on a street permit access by address, not ...

pdf-1466\communication-networks-computer-science-computer ...
... of the apps below to open or edit this item. pdf-1466\communication-networks-computer-science-computer-networking-by-cram101-textbook-reviews.pdf.

computer / information technology / computer science & engineering
GUJARAT TECHNOLOGICAL UNIVERSITY. B.E Semester: 4. Computer Engineering/ Computer Science & Engineering/. Information Technology. Subject Name ...