Download presentation
Presentation is loading. Please wait.
Published byAlice Campbell Modified over 9 years ago
1
LBSC 670 Organization of Information
2
Review Metadata models Dublin Core Metadata Standards Dublin core, MARC Encoding Schemes HTML, XML, MARC… Advanced metadata concepts Schemas, application profiles
3
Questions? INLS 520 – Fall 2007 Erik Mitchell
4
INLS 520 – Fall 2007 Erik Mitchell Today Guest speakers: –Metadata and information organization in digital libraries eXtensible Stylesheet Language: –Learning the nuts and bolts of metadata transformation
5
Guest Speakers Jennine Kneiss Thomas Whittaker INLS 520 – Fall 2007 Erik Mitchell
6
Anatomy of a Digital Library Interfaces Services Metadata store Digital object store Discovery Administration Create Replace Update Delete Index XML files Relational database Object database File system File management application
7
Connecting structure and style CSS XHTML Semantics & structure Design & interactivity XSL Decision making
8
Programming 101 Definition: –The process of developing a step-by-step schematic for address a specific task –The process of organizing these steps using a specific encoding system –The manipulation of data to serve a specific information need
9
Compiled Vs Scripting
10
Definitions Programming Language “A formal language used to write instructions that can be translated into machine language and then executed by a computer.” (definitions)definitions Scripting Language Run-time (does not require compilation) Restricted context (requires a specific environment) Functional / Object oriented Definitions Compiler / Interpreter A program that builds and executes a program. Compilers create a self-executable file, interpreters read a text script at run-time
11
The programming process Analyze the problem What do you want your program to do? What are your users expecting, what data do you have? Plan program flow/logic What steps need to occur, in what order? Useful tools include Step-Form, flowcharts, and pseudocodeflowcharts Code the program Create variables, routines, functions Compile/run the program Test, verify Release
12
eXtensible Stylesheets eXtensible Style Language (XSL) is a metadata schema that is encoded using XML and interpreted by Web-Browsers. The primary function of XSL is to transform XML documents. The XSL language features a set of programming constructs that support this function http://www.princexml.com/howcome/2007/xtech/papers/output/0082-32/index.xhtml
13
XSL Sample <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Trans form"> Processing Instructions
14
Contents of Sample XSL transformation :
15
XSL – Sample Stylesheet
16
XML RSS Record Sample RSS File http://urltofile.xml This is a sample en-us Tue, 10 Jun 2003 04:00:00 GMT …
17
WorkTime! Get into groups and work through our XSL worksheet. Ask questions Pause for discussion
18
XSL Control Structures For Each Choosing between options – If
19
XPath A DOM-style syntax that allows us to access elements in an XML file Examples –/dublinCore/title –Access the title of a DC record –/dulinCore/subject/@attribute –Access an attribute of the subject element –/dublinCore/
20
Xpath (2) Xpath functions –Contains (//item/title, ‘England’) –substring-before(string1, string2), substring- after(string1, string2) Xpath selectors –//elementname – finds an element anywhere in the DOM –./ - from the current context –/ - from the root context –* - wildcard match
21
Wrap-up Questions about Assignment 2? Next week – Classification! Course feedback: –http://bit.ly/lbsc670_questions
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.