Übung XML Book Namespacehttps://www.golabs.ch/online-schulung-xsl-kurse-xml-kurs-book-namespace?&atomThu, 28 Mar 2024 20:36:09 +0000stack.ch
https://stack.ch/
cf209681-ed42-11ee-8c11-005056bb85fbSimtech AG - Ausbildung - XML - Kurs XML Transformation - Kurs XML Transformation - Ressourcen - Kurs XML Transformation - Übungen - Übung XML Book Namespace
https://www.golabs.ch/online-schulung-xsl-kurse-xml-kurs-book-namespace
cf2097e3-ed42-11ee-8c11-005056bb85fbThu, 28 Mar 2024 20:36:09 +0000Übung XML Book Namespace
https://www.golabs.ch/online-schulung-xsl-kurse-xml-kurs-book-namespace
cf20991d-ed42-11ee-8c11-005056bb85fbThu, 28 Mar 2024 20:36:09 +0000
https://www.golabs.ch/online-schulung-xsl-kurse-xml-kurs-book-namespace
cf209a15-ed42-11ee-8c11-005056bb85fbThu, 28 Mar 2024 20:36:09 +0000Wir möchten unser XML Dokument mit einem Namespace versehen. Als Vorlage dient uns das folgenden Book Dokument:<?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>
https://www.golabs.ch/online-schulung-xsl-kurse-xml-kurs-book-namespace
cf209dc1-ed42-11ee-8c11-005056bb85fbThu, 28 Mar 2024 20:36:09 +0000Erstellen Sie im Visual Code Editor das Book Dokument gemäss dem zuvor angegebenen Listing.Definieren Sie einen Namespace gemäss dem folgenden Listing und passen Sie die Element entsprechend an, so dass das Dokument gültig ist. <?xml version="1.0" encoding="UTF-8"?>
<b:document xmlns:b="https://www.simtech-ag.ch/education/xml/jexm">
<b:book>
<b:title>XSLT</b:title>
...
</b:book>
</b:document>Eine mögliche Lösung finden Sie hier.
https://www.golabs.ch/online-schulung-xsl-kurse-xml-kurs-book-namespace
cf20a4d1-ed42-11ee-8c11-005056bb85fbThu, 28 Mar 2024 20:36:09 +0000Erstellen Sie optional ein XML Schema zum Namespaced Dokument z.B. via Visual Code Generator. Das generrierte XML Schema funktioniert leider nicht ohne manuelle Anpassungen auf beiden Dokumenten:Angepasstes Book XML Schema:<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="https://www.simtech-ag.ch/education/xml/jexm"
elementFormDefault="qualified">
<xs:element name="document">
<xs:complexType>
<xs:sequence>
<xs:element name="book" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="title" type="xs:string" />
<xs:element name="author" maxOccurs="unbounded" type="xs:string" />
<xs:element name="publisher" type="xs:string" />
<xs:element name="isbn" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>Angepasstes XML Dokument:<?xml version="1.0" encoding="UTF-8"?>
<b:document xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://www.simtech-ag.ch/education/xml/jexm bookns.xsd"
xmlns:b="https://www.simtech-ag.ch/education/xml/jexm">
<b:book>
<b:title>XSLT</b:title>
<b:author>Michael Kay</b:author>
<b:publisher>Wrox Press Ltd.</b:publisher>
<b:isbn>1-861003-12-9</b:isbn>
</b:book>
<b:book>
<b:title>XML and Java</b:title>
<b:author>Hiroshi Maruyama</b:author>
<b:author>Kent Tamura</b:author>
<b:author>Naohiko Uramoto</b:author>
<b:publisher>Addison Wesley</b:publisher>
<b:isbn>0201485435</b:isbn>
</b:book>
<b:book>
<b:title>Java and XML</b:title>
<b:author>Brett McLaughlin</b:author>
<b:author>Mike Loukides</b:author>
<b:publisher>O'Reilly</b:publisher>
<b:isbn>0596000162</b:isbn>
</b:book>
</b:document>Über uns
https://www.golabs.ch/about
Thu, 28 Mar 2024 20:36:09 +0000cf20ab9c-ed42-11ee-8c11-005056bb85fbAktuell
https://www.golabs.ch/
Thu, 28 Mar 2024 20:36:09 +0000cf20ac3b-ed42-11ee-8c11-005056bb85fbAGB
https://www.golabs.ch/agb
Thu, 28 Mar 2024 20:36:09 +0000cf20ad0f-ed42-11ee-8c11-005056bb85fbBildungswege
https://www.golabs.ch/bildungswege
Thu, 28 Mar 2024 20:36:09 +0000cf20adb2-ed42-11ee-8c11-005056bb85fbBlog
https://www.golabs.ch/blog
Thu, 28 Mar 2024 20:36:09 +0000cf20ae4f-ed42-11ee-8c11-005056bb85fbRufen Sie mich an
https://www.golabs.ch/callus
Thu, 28 Mar 2024 20:36:09 +0000cf20aee4-ed42-11ee-8c11-005056bb85fbCharts
https://www.golabs.ch/charts
Thu, 28 Mar 2024 20:36:09 +0000cf20af73-ed42-11ee-8c11-005056bb85fbConsulting
https://www.golabs.ch/consulting
Thu, 28 Mar 2024 20:36:09 +0000cf20b014-ed42-11ee-8c11-005056bb85fbKontakt
https://www.golabs.ch/contact
Thu, 28 Mar 2024 20:36:09 +0000cf20b0a4-ed42-11ee-8c11-005056bb85fbAusbildung/Kurse
https://www.golabs.ch/education
Thu, 28 Mar 2024 20:36:09 +0000cf20b13a-ed42-11ee-8c11-005056bb85fbSoftware Engineering
https://www.golabs.ch/engineering
Thu, 28 Mar 2024 20:36:09 +0000cf20b1ca-ed42-11ee-8c11-005056bb85fbFreelancer
https://www.golabs.ch/freelancer
Thu, 28 Mar 2024 20:36:09 +0000cf20b25c-ed42-11ee-8c11-005056bb85fbImpressum
https://www.golabs.ch/impressum
Thu, 28 Mar 2024 20:36:09 +0000cf20b2ed-ed42-11ee-8c11-005056bb85fbKursleiter
https://www.golabs.ch/kursleiter
Thu, 28 Mar 2024 20:36:09 +0000cf20b37f-ed42-11ee-8c11-005056bb85fbNetzwerk
https://www.golabs.ch/network
Thu, 28 Mar 2024 20:36:09 +0000cf20b40b-ed42-11ee-8c11-005056bb85fbReferenzen
https://www.golabs.ch/references
Thu, 28 Mar 2024 20:36:09 +0000cf20b493-ed42-11ee-8c11-005056bb85fbSitemap
https://www.golabs.ch/sitemap
Thu, 28 Mar 2024 20:36:09 +0000cf20b527-ed42-11ee-8c11-005056bb85fbTools
https://www.golabs.ch/tools
Thu, 28 Mar 2024 20:36:09 +0000cf20b5b2-ed42-11ee-8c11-005056bb85fbVision
https://www.golabs.ch/vision
Thu, 28 Mar 2024 20:36:09 +0000cf20b642-ed42-11ee-8c11-005056bb85fb