Übung XML Design Patternshttps://www.springboot.ch/Hilfe?&atomFri, 29 Mar 2024 08:44:28 +0000stack.ch
https://stack.ch/
8e02dbde-eda8-11ee-8c11-005056bb85fbSimtech AG - Ausbildung - XML - Kurs XML Einführung JEXM - Kurs XML Einführung - Ressourcen - Kurs XML Einführung - Übungen - Übung XML Design Patterns
https://www.springboot.ch/Hilfe
8e02dd9e-eda8-11ee-8c11-005056bb85fbFri, 29 Mar 2024 08:44:28 +0000Übung XML Design Patterns
https://www.springboot.ch/Hilfe
8e02dec7-eda8-11ee-8c11-005056bb85fbFri, 29 Mar 2024 08:44:28 +0000
https://www.springboot.ch/Hilfe
8e02dfd0-eda8-11ee-8c11-005056bb85fbFri, 29 Mar 2024 08:44:28 +0000XML Dokumente sollte für Maschinen gut lesbar und strukturiert aufgebaut werden. XML Design Patterns bieten hier eine Hilfe, um XML Dokumente zu strukturieren und lesbar zu machen.
https://www.springboot.ch/Hilfe
8e02e102-eda8-11ee-8c11-005056bb85fbFri, 29 Mar 2024 08:44:28 +0000Das folgende XML Dokument könnte als Lösung der Übung Book definiert sein: <?xml version="1.0" encoding="UTF-8"?>
<document>
<book>
<title>XSLT</title>
<author>Michael Kay</author>
<publisher>Wrox Press Ltd.</publisher>
<isbn>1-861003-12-9</isbn>
</book>
<book>
<title>XML and Java</title>
<author>Hiroshi Maruyama</author>
<author>Kent Tamura</author>
<author>Naohiko Uramoto</author>
<publisher>Addison Wesley</publisher>
<isbn>0201485435</isbn>
</book>
<book>
<title>Java and XML</title>
<author>Brett McLaughlin</author>
<author>Mike Loukides</author>
<publisher>O'Reilly</publisher>
<isbn>0596000162</isbn>
</book>
</document>Das Dokument erfüllt die gesuchten Anforderungen, es kann aber noch flexibler aufgebaut werden.
https://www.springboot.ch/Hilfe
8e02e486-eda8-11ee-8c11-005056bb85fbFri, 29 Mar 2024 08:44:28 +0000Das Book Dokument speichert mehrere Bücher und bildet damit eine Menge (Collection): Die Knoten innerhalb einer Collection sollten immer vom gleichen Elementtyp sein. Das XML Design Pattern Collection beschreibt dies. <?xml version="1.0" encoding="UTF-8"?>
<document>
<booklist>
<book>
<title>XSLT</title>
<authorlist>
<author>Michael Kay</author>
</authorlist>
<publisher>Wrox Press Ltd.</publisher>
<isbn>1-861003-12-9</isbn>
</book>
<book>
<title>XML and Java</title>
<authorlist>
<author>Hiroshi Maruyama</author>
<author>Kent Tamura</author>
<author>Naohiko Uramoto</author>
</authorlist>
<publisher>Addison Wesley</publisher>
<isbn>0201485435</isbn>
</book>
<book>
<title>Java and XML</title>
<authorlist>
<author>Brett McLaughlin</author>
<author>Mike Loukides</author>
</authorlist>
<publisher>O'Reilly</publisher>
<isbn>0596000162</isbn>
</book>
</booklist>
</document>Die booklist-Collection enthält ausschliesslich book-Element.
https://www.springboot.ch/Hilfe
8e02e8db-eda8-11ee-8c11-005056bb85fbFri, 29 Mar 2024 08:44:28 +0000Oft möchten wir XML Dokumente auch mit Metadaten ergänzen wie z.B. Datum der Erstellung oder den Benutzer ablegen, welcher das Dokument erstellte. Hier ist das Head-Body Design Pattern die richtige Lösung.Das XML Design Pattern Head-Body beschreibt dies. <?xml version="1.0" encoding="UTF-8"?>
<document>
<head>
<meta name="creationTime" value="2022-06-06T10:01:44.156Z" />
<!-- place more meta data here -->
</head>
<body>
<booklist>
<book>
<title>XSLT</title>
<authorlist>
<author>Michael Kay</author>
</authorlist>
<publisher>Wrox Press Ltd.</publisher>
<isbn>1-861003-12-9</isbn>
</book>
<book>
<title>XML and Java</title>
<authorlist>
<author>Hiroshi Maruyama</author>
<author>Kent Tamura</author>
<author>Naohiko Uramoto</author>
</authorlist>
<publisher>Addison Wesley</publisher>
<isbn>0201485435</isbn>
</book>
<book>
<title>Java and XML</title>
<authorlist>
<author>Brett McLaughlin</author>
<author>Mike Loukides</author>
</authorlist>
<publisher>O'Reilly</publisher>
<isbn>0596000162</isbn>
</book>
</booklist>
</body>
</document>Das Book Dokument mit dem Head-Body Pattern. Über uns
https://www.springboot.ch/about
Fri, 29 Mar 2024 08:44:28 +00008e02ef24-eda8-11ee-8c11-005056bb85fbAktuell
https://www.springboot.ch/
Fri, 29 Mar 2024 08:44:28 +00008e02efc3-eda8-11ee-8c11-005056bb85fbAGB
https://www.springboot.ch/agb
Fri, 29 Mar 2024 08:44:28 +00008e02f065-eda8-11ee-8c11-005056bb85fbBildungswege
https://www.springboot.ch/bildungswege
Fri, 29 Mar 2024 08:44:28 +00008e02f103-eda8-11ee-8c11-005056bb85fbBlog
https://www.springboot.ch/blog
Fri, 29 Mar 2024 08:44:28 +00008e02f192-eda8-11ee-8c11-005056bb85fbRufen Sie mich an
https://www.springboot.ch/callus
Fri, 29 Mar 2024 08:44:28 +00008e02f233-eda8-11ee-8c11-005056bb85fbCharts
https://www.springboot.ch/charts
Fri, 29 Mar 2024 08:44:28 +00008e02f2ce-eda8-11ee-8c11-005056bb85fbConsulting
https://www.springboot.ch/consulting
Fri, 29 Mar 2024 08:44:28 +00008e02f360-eda8-11ee-8c11-005056bb85fbKontakt
https://www.springboot.ch/contact
Fri, 29 Mar 2024 08:44:28 +00008e02f3f3-eda8-11ee-8c11-005056bb85fbAusbildung/Kurse
https://www.springboot.ch/education
Fri, 29 Mar 2024 08:44:28 +00008e02f485-eda8-11ee-8c11-005056bb85fbSoftware Engineering
https://www.springboot.ch/engineering
Fri, 29 Mar 2024 08:44:28 +00008e02f518-eda8-11ee-8c11-005056bb85fbFreelancer
https://www.springboot.ch/freelancer
Fri, 29 Mar 2024 08:44:28 +00008e02f5a9-eda8-11ee-8c11-005056bb85fbImpressum
https://www.springboot.ch/impressum
Fri, 29 Mar 2024 08:44:28 +00008e02f638-eda8-11ee-8c11-005056bb85fbKursleiter
https://www.springboot.ch/kursleiter
Fri, 29 Mar 2024 08:44:28 +00008e02f6c9-eda8-11ee-8c11-005056bb85fbNetzwerk
https://www.springboot.ch/network
Fri, 29 Mar 2024 08:44:28 +00008e02f757-eda8-11ee-8c11-005056bb85fbReferenzen
https://www.springboot.ch/references
Fri, 29 Mar 2024 08:44:28 +00008e02f7ef-eda8-11ee-8c11-005056bb85fbSitemap
https://www.springboot.ch/sitemap
Fri, 29 Mar 2024 08:44:28 +00008e02f885-eda8-11ee-8c11-005056bb85fbTools
https://www.springboot.ch/tools
Fri, 29 Mar 2024 08:44:28 +00008e02f917-eda8-11ee-8c11-005056bb85fbVision
https://www.springboot.ch/vision
Fri, 29 Mar 2024 08:44:28 +00008e02f9ad-eda8-11ee-8c11-005056bb85fb