Übung XML Design Patternshttps://www.springboot.ch/schweiz-xml-transformation-schulung?&atomFri, 29 Mar 2024 04:37:26 +0000stack.ch
https://stack.ch/
0b2255fe-ed86-11ee-8c11-005056bb85fbSimtech AG - Ausbildung - XML - Kurs XML Transformation - Kurs XML Transformation - Ressourcen - Kurs XML Transformation - Übungen - Übung XML Design Patterns
https://www.springboot.ch/schweiz-xml-transformation-schulung
0b2257ce-ed86-11ee-8c11-005056bb85fbFri, 29 Mar 2024 04:37:26 +0000Übung XML Design Patterns
https://www.springboot.ch/schweiz-xml-transformation-schulung
0b22593e-ed86-11ee-8c11-005056bb85fbFri, 29 Mar 2024 04:37:26 +0000
https://www.springboot.ch/schweiz-xml-transformation-schulung
0b225a4e-ed86-11ee-8c11-005056bb85fbFri, 29 Mar 2024 04:37:26 +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/schweiz-xml-transformation-schulung
0b225ba5-ed86-11ee-8c11-005056bb85fbFri, 29 Mar 2024 04:37:26 +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/schweiz-xml-transformation-schulung
0b226089-ed86-11ee-8c11-005056bb85fbFri, 29 Mar 2024 04:37:26 +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/schweiz-xml-transformation-schulung
0b2265c9-ed86-11ee-8c11-005056bb85fbFri, 29 Mar 2024 04:37:26 +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 04:37:26 +00000b226cc9-ed86-11ee-8c11-005056bb85fbAktuell
https://www.springboot.ch/
Fri, 29 Mar 2024 04:37:26 +00000b226d87-ed86-11ee-8c11-005056bb85fbAGB
https://www.springboot.ch/agb
Fri, 29 Mar 2024 04:37:26 +00000b226e26-ed86-11ee-8c11-005056bb85fbBildungswege
https://www.springboot.ch/bildungswege
Fri, 29 Mar 2024 04:37:26 +00000b226ec2-ed86-11ee-8c11-005056bb85fbBlog
https://www.springboot.ch/blog
Fri, 29 Mar 2024 04:37:26 +00000b226f6c-ed86-11ee-8c11-005056bb85fbRufen Sie mich an
https://www.springboot.ch/callus
Fri, 29 Mar 2024 04:37:26 +00000b22700f-ed86-11ee-8c11-005056bb85fbCharts
https://www.springboot.ch/charts
Fri, 29 Mar 2024 04:37:26 +00000b2270bf-ed86-11ee-8c11-005056bb85fbConsulting
https://www.springboot.ch/consulting
Fri, 29 Mar 2024 04:37:26 +00000b22716d-ed86-11ee-8c11-005056bb85fbKontakt
https://www.springboot.ch/contact
Fri, 29 Mar 2024 04:37:26 +00000b22720b-ed86-11ee-8c11-005056bb85fbAusbildung/Kurse
https://www.springboot.ch/education
Fri, 29 Mar 2024 04:37:26 +00000b2272a5-ed86-11ee-8c11-005056bb85fbSoftware Engineering
https://www.springboot.ch/engineering
Fri, 29 Mar 2024 04:37:26 +00000b227342-ed86-11ee-8c11-005056bb85fbFreelancer
https://www.springboot.ch/freelancer
Fri, 29 Mar 2024 04:37:26 +00000b2273f4-ed86-11ee-8c11-005056bb85fbImpressum
https://www.springboot.ch/impressum
Fri, 29 Mar 2024 04:37:26 +00000b227496-ed86-11ee-8c11-005056bb85fbKursleiter
https://www.springboot.ch/kursleiter
Fri, 29 Mar 2024 04:37:26 +00000b22753e-ed86-11ee-8c11-005056bb85fbNetzwerk
https://www.springboot.ch/network
Fri, 29 Mar 2024 04:37:26 +00000b2275de-ed86-11ee-8c11-005056bb85fbReferenzen
https://www.springboot.ch/references
Fri, 29 Mar 2024 04:37:26 +00000b22768a-ed86-11ee-8c11-005056bb85fbSitemap
https://www.springboot.ch/sitemap
Fri, 29 Mar 2024 04:37:26 +00000b227730-ed86-11ee-8c11-005056bb85fbTools
https://www.springboot.ch/tools
Fri, 29 Mar 2024 04:37:26 +00000b2277d7-ed86-11ee-8c11-005056bb85fbVision
https://www.springboot.ch/vision
Fri, 29 Mar 2024 04:37:26 +00000b227883-ed86-11ee-8c11-005056bb85fb