xref: /aosp_15_r20/external/apache-xml/test/tests/contrib/xsltc/schemasoft/XMLSchema2cplusplus.xml (revision 1212f9a0ffdc28482b8821715d2222bf16dc14e2)
1<?xml version='1.0'?>
2<!-- Commented out for IE5 which doesn't understand :
3<!DOCTYPE schema SYSTEM "http://www.w3.org/TR/2000/WD-xmlschema-1-20000225/structures.dtd" >
4-->
5
6<!-- Uncomment to format with CSS: <?xml-stylesheet href="limits-mess.css" type="text/css"?> -->
7
8<messagesList xmlns='urn:bigtrust:bizmess:limits:V0.0'>
9
10<schema targetNS='urn:bigtrust:bizmess:limits:V0.0' version="M.n"
11  xmlns="http://www.w3.org/1999/XMLSchema"
12  xmlns:bm="urn:bigtrust:bizmess:limits:V0.0"
13  xmlns:html="html" >
14
15 <documentation xmlns:dc="http://www.w3.org/TR/1999/PR-rdf-schema-19990303#" >
16
17<html:p>Definition of limit messages for bizmess</html:p>
18
19A message of bizmess is simply a list of fields, a field being essentially a pair name-value. For performance across network, the messages are sent in a binary form, in form of a pair index-value. Messages sent are constrained by an initial list of fields and messages coming from the server (or in a config. file). This initial message is itself being defined here.
20<dc:Author>J.M. Vanel</dc:Author>
21<dc:date>2000-01-18</dc:date>
22</documentation>
23
24 <!-- Abstract types -->
25
26 <complexType name='genericMessage'><documentation>Abstract type for all the bizmess messages</documentation></complexType>
27 <complexType name='genericField'>
28  <documentation>Abstract type for all the fields in bizmess messages</documentation>
29 </complexType>
30
31 <!-- fields -->
32
33  <complexType name='InstrumentType' source='genericField' derivedBy='extension' type='string' >
34   <documentation><html:b>Type of Instrument</html:b> (bond, etc) ... [any html content]</documentation>
35   <!-- For implementation of binary messages : -->
36   <id>0</id>
37   <size>32</size>
38  </complexType>
39
40  <complexType name='CounterParty' source='genericField' derivedBy='extension' type='string' >
41   <documentation><html:b>Counter-party name</html:b> ... [any html content]</documentation>
42   <id>1</id>
43   <size>64</size>
44  </complexType>
45
46 <!-- messages -->
47
48 <complexType name='enquiry' source='genericMessage' derivedBy='extension'>
49  <documentation><html:b>enquiry</html:b> about ... [any html content]</documentation>
50  <element name='InstrumentType' type='bm:InstrumentType'></element>
51  <element name='CounterParty' type='bm:CounterParty' ></element>
52 </complexType>
53
54 <!-- root element -->
55 <element name="bizmess">
56  <complexType>
57   <element type='bm:enquiry' name='enquiry' />
58   <element name='reference' type='string' />
59  </complexType>
60 </element>
61</schema>
62</messagesList>
63