Regarding XSchema Section 5.2.9

Amit Rekhi (amitr@abinfosys.com)
Wed, 14 Oct 1998 10:14:42 +0530


Hello,
After having gone through Section 5.2.9 "Custom Uses" of the
XSchema ver 1.0 , draft 23 September 1998, I realised that data type
information regarding PCDATA elements can be specified here amongst other
things. I was looking for an example of how to specify this data type
information. i.e.

If I have a .xsc file :-
.
.
<ElementDecl Name="Test-Element">
<Model>
<PCData/>
</Model>
</ElementDecl>

* At which level should I specify the <XSC:More> containing the datatype for
PCDATA? At the <ElementDecl> level or at the <Model> level?

* How to represent datatype information within the <XSC:More> element? i.e.
If I want that the Test-Element (see above) should have datatype = alpha
only , how to represent this information within the <XSC:More> element?

Thanks in advance for any help,

AMIT