1 / 16

LIS 549 U/TU: Intro to Content Management Fall 2003 * Bob Boiko * MSIM Associate Chair

LIS 549 U/TU: Intro to Content Management Fall 2003 * Bob Boiko * MSIM Associate Chair. XML Schemas. Instance documents. Are they too much? Why would I bother to do all that work just to create a Web page that I could have typed in? Are they enough? How about: Making new instances

elvis
Download Presentation

LIS 549 U/TU: Intro to Content Management Fall 2003 * Bob Boiko * MSIM Associate Chair

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. LIS 549 U/TU: Intro to Content ManagementFall 2003 * Bob Boiko * MSIM Associate Chair XML Schemas

  2. Instance documents • Are they too much? • Why would I bother to do all that work just to create a Web page that I could have typed in? • Are they enough? How about: • Making new instances • Keeping control over the tags and their and use • Making sure others know how to create the instance • Using parts of other people’s instances • Adding format to the XML LIS 549 U/TU: Intro to Content Management * Fall 2004 * Bob Boiko * MSIM Associate Chair

  3. Enter Schemas • The schema contains all the rules • What elements are allowed • What elements within what elements • What attributes • What attribute values • Well formed vs. valid • Namespaces • Document Type Definitions (DTD) LIS 549 U/TU: Intro to Content Management * Fall 2004 * Bob Boiko * MSIM Associate Chair

  4. What are Schemas? • They are XML! • They are rules and regulations • They are MODELS LIS 549 U/TU: Intro to Content Management * Fall 2004 * Bob Boiko * MSIM Associate Chair

  5. What are the Major Players? • Text ora visual design environment • Elements • Attributes • Nesting • Reuse LIS 549 U/TU: Intro to Content Management * Fall 2004 * Bob Boiko * MSIM Associate Chair

  6. Schema overview • Elements • Required vs. Optional • Bounded vs. unbounded • Mixed (allows text) vs. elements only • Reference vs. locally defined • Attributes • Required vs. Optional • Type • Allowed values • Nesting • Sequence • Choice • Reuse • Element Groups • Block elements (my term) • Inline elements (my term) LIS 549 U/TU: Intro to Content Management * Fall 2004 * Bob Boiko * MSIM Associate Chair

  7. Navigator Element properties Attribute properties Element Hierarchy The Spy visual environment LIS 549 U/TU: Intro to Content Management * Fall 2004 * Bob Boiko * MSIM Associate Chair

  8. A quick look at schema text LIS 549 U/TU: Intro to Content Management * Fall 2004 * Bob Boiko * MSIM Associate Chair

  9. Mixed (allows text) vs. elements only Required vs. Optional Bounded vs. unbounded Reference vs. locally defined Elements LIS 549 U/TU: Intro to Content Management * Fall 2004 * Bob Boiko * MSIM Associate Chair

  10. Only Text Allowed Text and Elements Allowed Only Elements Allowed Text in Elements LIS 549 U/TU: Intro to Content Management * Fall 2004 * Bob Boiko * MSIM Associate Chair

  11. Allowed number (Cardinality) LIS 549 U/TU: Intro to Content Management * Fall 2004 * Bob Boiko * MSIM Associate Chair

  12. Allowed values Required vs. Optional Group Type Attributes • ID and IDREF • An ID is a unique value (starting with a character) • An IDREF is a reference to the ID of an other element • You use them for the same reason you always use Id’s LIS 549 U/TU: Intro to Content Management * Fall 2004 * Bob Boiko * MSIM Associate Chair

  13. Choice (optional, unbounded) Sequence (required) Nesting LIS 549 U/TU: Intro to Content Management * Fall 2004 * Bob Boiko * MSIM Associate Chair

  14. Group name My block and inline model LIS 549 U/TU: Intro to Content Management * Fall 2004 * Bob Boiko * MSIM Associate Chair

  15. Back to content modeling What do you have to figure out? • What is it called? • What does it contain? • How many? How do you encode it? • Root element • Child elements • Child attributes LIS 549 U/TU: Intro to Content Management * Fall 2004 * Bob Boiko * MSIM Associate Chair

  16. Forward from a content model • Figure out what parts of your information need to be named • Figure out what metadata you need to attach to your information • Descriptive • Management • Access • Build a system that lets you gather, tag and distribute your information LIS 549 U/TU: Intro to Content Management * Fall 2004 * Bob Boiko * MSIM Associate Chair

More Related