XML JSON Programming, For Beginners, Learn Coding Fast! by Yao Ray

XML JSON Programming, For Beginners, Learn Coding Fast! by Yao Ray

Author:Yao, Ray [Yao, Ray]
Language: eng
Format: epub
Publisher: Tutorial eBook & Book, A Quick Start Guide.
Published: 2020-08-03T16:00:00+00:00


Example 4.3

<xsd: minInclusive value=”100”/>

<xsd: maxInclusive value=”200”/>

Explanation:

“minInclusive” sets up the minimum value as 100.

“maxIncusive” sets up the maximum value as 200.

Simple Type Schema

There are two type declarations in the Schema:

SimpleType

ComplexType

The syntax to declare a SimpleType schema is as follows:

<xsd: simpleType name=”type” >

……

</xsd: simpleType>

Example 4.4

The following is an XML document named “score. xml”

<?xml version="1 . 0" encoding="utf-8"?>

<score xmlns:xsi="http://www . w3 . org/2001/XMLSchema-instance"

xsi:noNamespaceSchemaLocation="score . xsd">

98

</score>



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.