Download presentation
Presentation is loading. Please wait.
Published byMaude Carpenter Modified over 9 years ago
1
Digital Media Technology Week 7: XSLT 3
4
Characteristics of digital models □ “a set of ontological commitments” □ Expressed in a “formal language” □ Based on a “fragmentary theory of intelligent reasoning” and “shaped by the need for efficient computation ” John Unsworth, “What is Humanities Computing and What is Not?”, 2002.
5
Text encoding □ Ontology: DTD □ Formal language: XML □ Manipulations: XSLT
6
Artificial Intelligence □ Reliant on algorithms □ Alan Turing’s concept of “The Universal Machine” □ John Searle’s “Chinese Room Argument”Chinese Room Argument
7
Assignment 2
8
□ Exports from UBL catalogue □ Records contain data books and about correspondence □ Groups firstly work separately on assignments; results discussed during presentations Research project during the Seminar
9
MARC-XML SVG
10
XPath □ Language for finding information in an XML document □ Nodes and tokens □ Xpath expressions are always interpreted in a context
11
e.g. if context is set at “literatureList”: item/fullTitle/title
12
e.g. All elements below “imprint”: item/imprint/*
13
e.g. Elements on any location //title
14
e.g. Selecting the value of an attribute: item/language/@languageCode
15
e.g. Selecting only if a condition is true: item/language[ @languageCode = ‘eng’ ]
16
Counts the number of elements on a particular location count() function
20
□ Use to select all the elements of the same type on a certain level □ Takes @select, to point to the node □ Note: changes the context of its children!
21
□ Use to sort a list alphabeticaly or numerically, by the element in the @select attribute □ must be the direct child of (or )
22
□ Select an element on the condition that it is present Date:
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.