Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introducing XML Maria Esteva DLSD General Libraries May 2004.

Similar presentations


Presentation on theme: "Introducing XML Maria Esteva DLSD General Libraries May 2004."— Presentation transcript:

1 Introducing XML Maria Esteva DLSD General Libraries May 2004

2 XML Rules to build a mark-up language Open standard Unicode Preserves the purity of the content It is human readable Content and metadata Facilitates storing, exchanging,managing,preserving data

3 XML basic components Prolog Elements the message Attributes

4 XML syntax Boundaries Roles Positions Nesting Hello Mark, I will see you tomorrow Bye and Good luck to you! Maria Relationships outside/inside the document inside the hierarchy of the document

5 XML rules An element containing text or other elements must have start and end tags An empty element’s tag must have a / before the end bracket Nested elements may not overlap this is the message All attribute values must be in quotes An Introduction

6 XML tools Editors and parsers –Cooktop FREE –Xmetal –Latest Microsoft OfficeLatest Microsoft Office Web browsers –Internet Explorer –Mozilla –Opera Style-sheets

7 Let’s try and mark-up! Consider the structure of your text Choose element names that make sense Think about what you would like to have indexed for that piece

8 Something simple Jo Anne: I told you many times that I don’t want to move to Arizona! Joseph: But my dear, we will make a new life there… Jo Anne: The weather in Phoenix is so dry, the humidity is always below 20%

9 Why DTDs and schemas? Define rules to produce similarly structured documents DTD: Defines structure elements and attributes of xml documentsDTD Schema: Successor of the DTD, defines structure, content, and semantics of xml documentsSchema

10 XML et al.. Prolog – Namespaces – Notations – Entities &author decided to write using the point of view of a child. While &author was not convinced of the ……

11 Some examples TEI EAD BUILDING your own DTDs / resultsBUILDING your own DTDsresults METS

12 DTDs and schemas at DLSD TEI Text Encoding InitiativeTEI –HeaderHeader –ContentContent MODS Metadata Object Description SchemaMODS DC Dublin CoreDC EAD Encoding Archival DescriptionEAD MIX Metadata for Images in XML SchemaMIX METS Metadata Encoding and Transmission StandardMETS

13 XML the end Bibliography Ray, E. (2001).Learning XML. O’ Reilly Acknowledgments Jennifer Lee Loretta Acevedo Aaron Choate Uri Kolodney


Download ppt "Introducing XML Maria Esteva DLSD General Libraries May 2004."

Similar presentations


Ads by Google