Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Sep 5, 2019. It is now read-only.

Commit bca22f8

Browse files
Video 4 h 35
-Esempi tipi
1 parent 5f63bd0 commit bca22f8

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

‎03 - XML Schema.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -329,15 +329,19 @@ La sintassi da utilizzare è la seguente:
329329
Per esempio:
330330

331331
```XML
332-
<xsd:simpleType name="myInteger">
333-
<xsd:restriction base="xsd:integer">
334-
<xsd:minInclusive value="10000"/>
335-
<xsd:maxInclusive value="99999"/>
336-
</xsd:restriction>
337-
</xsd:simpleType>
332+
01 <xsd:simpleType name="myInteger">
333+
02 <xsd:restriction base="xsd:integer">
334+
03 <xsd:minInclusive value="10000"/>
335+
04 <xsd:maxInclusive value="99999"/>
336+
05 </xsd:restriction>
337+
06 </xsd:simpleType>
338338
```
339339

340-
**Sinossi**: ho creato un nuovo tipo esplicitamente (utilizzando la *restriction*). Il nuovo tipo si chiama **myInteger** ed eredita dal tipo predefinito **integer**. Il nuovo tipo *myInteger* può assumere solo i valori da *10000* a *99999*.
340+
**Sinossi**: ho creato un nuovo tipo esplicitamente (utilizzando la *restriction*). Il nuovo tipo si chiama **myInteger** ed eredita dal tipo predefinito **integer**. Il nuovo tipo *myInteger* può assumere solo i valori da *10000* a *99999*.
341+
342+
La "Facet" sono i vincoli.
343+
344+
Se si mettono le righe 01 e 06 allora la definizione è referenziabile in tutto il documento.
341345

342346

343347

@@ -361,7 +365,7 @@ Esempio:
361365
</xsd:simpleType>
362366
```
363367

364-
**Sinossi**: ho appena definitio un nuovo tipo di nome **ListOfMyIntType** che rappresenta una sequenza di valori tutti di tipo **myInteger**, secondo la definizione fatta prima, ciascuno diu questi valori sono compresi tra *10000* e *99999*.
368+
**Sinossi**: ho appena definitio un nuovo tipo di nome **ListOfMyIntType** che rappresenta una sequenza di valori tutti di tipo **myInteger** (che è stato definito prima), secondo la definizione fatta prima, ciascuno di questi valori sono compresi tra *10000* e *99999*.
365369

366370

367371

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /