Digital Media Technology Week 8
Digital Lifecycle
□ XML documents themselves □ Root element: □ □ First template which point to root element of source □ Elements within : □ XSLT Stylesheets
□ Database theory □ W9: Relational data model □ W10: Entity-relationship modelling □ W11: SQL □ Webprogramming □ W12: PHP (variables, operators) □ W13: PHP (flow control) □ W14: PHP (HTML forms) From next week onwards
Why XML? □ Different outputs (paper, pdf, html, mobile phone, etc.) □ Reuse text; change content (order) and form □ Exchange text □ Selecting and searching
Different outputs □ Illustration: □ Other TEI projects: c.org/Activities/Projects / c.org/Activities/Projects /
Exchange of data OAI-PMH
Examples of service provides □ OAIster OAIster □ ArXiv ArXiv □ Narcis Narcis
Examples of OAI-PMH requests □ bin/oai2_0?verb=GetRecord&metadata Prefix=marc21&identifier=oai:lcoa1.loc. gov:loc.gmd/g3791p.rr002300http://lcweb2.loc.gov/cgi- bin/oai2_0?verb=GetRecord&metadata Prefix=marc21&identifier=oai:lcoa1.loc. gov:loc.gmd/g3791p.rr □ bin/oai2_0?verb=ListRecords&metadat aPrefix=oai_dc&set=mussmhttp://lcweb2.loc.gov/cgi- bin/oai2_0?verb=ListRecords&metadat aPrefix=oai_dc&set=mussm □ cords&metadataPrefix=oai_dc&set=cshttp://export.arxiv.org/oai2?verb=ListRe cords&metadataPrefix=oai_dc&set=cs
Advanced Search Options
Use of computer in Digital Humanities □ XSLT and Xpath:
XPath
… XPath
Xpath functions □ count() □ contains()
□ Add structure to your stylesheet □ Modularity □
Example …