Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

XML-Schema Frage

Empfohlene Antworten

Hallo!

Weiss jemand zufällig wie ich ein Entity aus einer DTD in einem

XML-Schema umsetzen kann.

D.h wie ich ich ein Entity im XML-Schema realisieren?

XSD ist viel umfangreicher als DTD

mal ein kleines Beispiel:

die xml:


<?xml version="1.0" encoding="UTF-8"?>

<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="hello_world.xsd">

	<message>Hello World</message>

</root>

das schema:

<?xml version="1.0" encoding="UTF-8"?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">

	<xs:element name="root">

		<xs:complexType>

			<xs:sequence>

				<xs:element name="message" type="xs:string"/>

			</xs:sequence>

		</xs:complexType>

	</xs:element>

</xs:schema>

schau dir am besten mal das hier an

mfg

trc

Ja okay, aber ganz schlau werd ich da nicht.

Habe folgendes Problem:

Ich habe einen XML-File.

Dieser hat Elemente die Inhalte haben.

Vorab möchte ich Entities erstellen, die als Inhalt verwendet werden.

Das gleiche dann auch im Schema.

Wie geht das? Ohne Doktype?

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.