O'Reilly logo

XML: kurz & gut by Michael Fitzgerald, Simon St. Laurent

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required