XML Information Set ● Lecture 2 – Part B Ing. Miloslav Nič Ph.D. letní semestr 2010-2011 BI-XML © Miloslav Nič, 2011 Evropský sociální fond Praha & EU: Investujeme do vaší budoucnosti XML Information Set ● ● ● usually abbreviated as XML infoset the official and formal way how to talk about XML the terminology is used in recent standards so it is worthwhile to have some basic understanding XML Information Set XML Information Set (Infoset) ● provide a consistent set of definitions for use in other specifications that need to refer to the information in a well-formed XML document 2.1. The Document Information Item ● ● ● exactly one document information item all other information items are accessible from the properties of the document information item Properties: children, document element, base URI, character encoding scheme, standalone, version, ... 2.2. Element Information Items ● ● an element information item for each element appearing in the XML document Properties: namespace name, local name, prefix, children, attributes, namespace attributes, in-scope namespaces, base URI, parent 2.3. Attribute Information Items ● ● an attribute information item for each attribute (specified or defaulted) of each element in the document, including those which are namespace declarations. Properties: namespace name, local name, prefix, normalized value, specified, attribute type, references, owner element Other information items ● ● ● 2.4. Processing Instruction Information Items 2.5. Unexpanded Entity Reference Information Items 2.6. Character Information Items – a character information item for each data character that appears in the document; Properties: character code, element content whitespace, parent Other information items - II ● ● 2.7. Comment Information Items 2.8. The Document Type Declaration Information Item ● 2.9. Unparsed Entity Information Items ● 2.10. Notation Information Items ● 2.11. Namespace Information Items
© Copyright 2026 Paperzz