Содержание
- 2. Why XML? XML is a very useful technology for describing structured information XML tools make it
- 3. XML Example 4.0.0 webapp.sample web-parent 1.0-SNAPSHOT web-app jar Web Demo - Application UI project * Infopulse
- 4. What is an XML? Extensible Markup Language (XML) is a markup language that defines a set
- 5. The Structure of an XML Document An XML document should start with a header such as
- 6. XML Example 4.0.0 webapp.sample web-parent 1.0-SNAPSHOT web-app jar Web Demo - Application UI project * Infopulse
- 7. Element A logical document component either begins with a start-tag and ends with a matching end-tag
- 8. Element (continued) An element can contain child elements, text, or both: webapp.sample web-parent 1.0-SNAPSHOT * Infopulse
- 9. Attributes A markup construct consisting of a name/value pair that exists within a start-tag or empty-element
- 10. Parsing an XML Document To process an XML document, you need to parse it: read a
- 11. Java XML Parsers Tree parser - Document Object Model (DOM) that read an XML document into
- 12. XML namespace XML namespaces are used for providing uniquely named elements and attributes in an XML
- 13. Namespace declaration An XML namespace is declared using the reserved XML attribute xmlns or xmlns:prefix, the
- 14. Default Namespace It is also possible to declare a default namespace: xmlns="http://www.w3.org/1999/xhtml" In this case, any
- 15. Well-formed XML document Well-formed = correct syntax The begin, end, and empty-element tags that delimit the
- 16. Valid XML Document Valid = well-formed + semantic-correct Semantic is described with: Document Type Definition (DTD)
- 18. Скачать презентацию