Commit fa924794 authored by Pietro Abate's avatar Pietro Abate
Browse files

[r2003-11-29 11:03:26 by szach] fixed typos in some examples

Original author: szach
Date: 2003-11-29 11:03:26+00:00
parent d1fbfb05
...@@ -308,7 +308,7 @@ Model groups: {mgroup:attachmentContent} ...@@ -308,7 +308,7 @@ Model groups: {mgroup:attachmentContent}
</p> </p>
<sample><![CDATA[ <sample><![CDATA[
# #print_type Mails # envelopeType;; # #print_type Mails # envelopeType;;
<(Any)>[ <(Any) {| |}>[
<From {| |}>String <From {| |}>String
<To {| |}>String <To {| |}>String
<Date {| |}>{ <Date {| |}>{
...@@ -369,13 +369,23 @@ Model groups: {mgroup:attachmentContent} ...@@ -369,13 +369,23 @@ Model groups: {mgroup:attachmentContent}
</p> </p>
<sample><![CDATA[ <sample><![CDATA[
# #print_type Mails # header;; # #print_type Mails # header;;
<header {| name = String |}>[ String ] <header {| name = String |}>String
]]></sample> ]]></sample>
<p> <p>
Note that the type of the element content <em>is not a sequence</em> (as Note that the type of the element content <em>is not a sequence</em>
you can notice in the example above) unless the translation of the XML unless the translation of the XML Schema types is a sequence itself (as
Schema types is a sequence itself. you can notice in the example above). Compare it with the following
where the element content is not a sequente, but a single record:
</p> </p>
<sample><![CDATA[
# #print_type Mails # Date;;
<Date {| |}>{
positive = Bool;
year = Int; month = Int; day = Int; hour = Int;
minute = Int; second = Int;
timezone =? { positive = Bool; hour = Int; minute = Int }
}
]]></sample>
</li> </li>
<li> <li>
<p> <p>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment