1 / 8

XML Data

XML Data. DTDs , IDs & IDREFs. DTDs, IDs & IDREFs. “Well-Formed” XML Adheres to basic structural requirements Single root element Matched tags, proper nesting Unique attributes within elements. DTDs, IDs & IDREFs. “Valid” XML Adheres to basic structural requirements

azra
Download Presentation

XML Data

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. XML Data DTDs, IDs & IDREFs

  2. DTDs, IDs & IDREFs “Well-Formed” XML Adheres to basic structural requirements • Single root element • Matched tags, proper nesting • Unique attributes within elements

  3. DTDs, IDs & IDREFs “Valid” XML Adheres to basic structural requirements • Also adheres to content-specific specification • Document Type Descriptor (DTD) • XML Schema (XSD)

  4. DTDs, IDs & IDREFs “Valid” XML Adheres to basic structural requirements • Also adheres to content-specific specification XML Document XML Parser Parsed XML “Not well-formed”

  5. DTDs, IDs & IDREFs “Valid” XML Adheres to basic structural requirements • Also adheres to content-specific specification DTD or XSD XML Document Validating XML Parser “Not well-formed”

  6. DTDs, IDs & IDREFs “Valid” XML Adheres to basic structural requirements • Also adheres to content-specific specification DTD or XSD XML Document Validating XML Parser Parsed XML “Not valid”

  7. DTDs, IDs & IDREFs Document Type Descriptor (DTD) • Grammar-like language for specifying elements, attributes, nesting, ordering, #occurrences • Also special attribute types ID and IDREF(S)

  8. DTDs, IDs & IDREFs DTD/XSD versus none (well-formed)

More Related