Name

rng:data

Passt auf Daten eines bestimmten Datentyps.

Beispiel für XML-Syntax

<element name="num">
<data type="decimal"
    datatypeLibrary="http://www.w3.org/2001/XMLSchema-
    datatypes">
  <param name="minInclusive">0.0</param>
  <param name="maxInclusive">1.0</param>
</data>
</element>

Beispiel für kompakte Syntax

element num {
  xsd:decimal
 { minInclusive = "0.0" maxInclusive = "1.0" }
}

Eltern

attribute, choice (( ) und |), define (der Name des Musters, gefolgt von =), element, except (-), group (( ) und,), interleave (&), list, mixed, oneOrMore (+), optional (?), start (start, gefolgt von =), zeroOrMore (*)

Attribut

type

Ein Datentyp aus einer Datentyp-Library, die durch das nächstgelegene datatypeLibrary-Attribut angegeben wird.

Beschreibung

Das data-Muster ...

Get XML: kurz & gut now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.