xsddoc/samples/stress stress.xsd,1.20,1.21

Kurt Riede <[email protected]>
Newsgroups gmane.text.xml.xframe.xsddoc.devel
Message-ID <[email protected]>
Update of /cvsroot/xframe/xsddoc/samples/stress
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7001/samples/stress

Modified Files:
	stress.xsd 
Log Message:
new examples for nested element declarations

Index: stress.xsd
===================================================================
RCS file: /cvsroot/xframe/xsddoc/samples/stress/stress.xsd,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** stress.xsd	20 Sep 2004 18:58:38 -0000	1.20
--- stress.xsd	28 Sep 2004 13:29:25 -0000	1.21
***************
*** 67,71 ****
                  <xsd:annotation>
                    <xsd:documentation>The third  child of the russian doll.
! 									This text is part of a documentation tag that is the first child of the <i>rdChild1</i> tag.</xsd:documentation>
                  </xsd:annotation>
                  <xsd:simpleType>
--- 67,71 ----
                  <xsd:annotation>
                    <xsd:documentation>The third  child of the russian doll.
! 									This text is part of a documentation tag that is the first child of the <i>rdChild3</i> tag.</xsd:documentation>
                  </xsd:annotation>
                  <xsd:simpleType>
***************
*** 77,80 ****
--- 77,100 ----
                  </xsd:simpleType>
                </xsd:element>
+               <xsd:element name="rdChild4">
+                 <xsd:annotation>
+                   <xsd:documentation>The fourth child of the russian doll.
+                   The type of this nested element is a local restriction of <code>xs:string</code>.
+ 									This text is part of a documentation tag that is the fourth child of the <i>rdChild4</i> tag.</xsd:documentation>
+                 </xsd:annotation>
+                 <xsd:simpleType>
+                   <xsd:restriction base="xs:string">
+                     <xsd:maxLength value="255"/>
+                     <xsd:whiteSpace value="collapse"/>
+                   </xsd:restriction>
+                 </xsd:simpleType>
+               </xsd:element>
+               <xsd:element name="rdChild5" type="st:test2Type">
+                 <xsd:annotation>
+                   <xsd:documentation>The fifth child of the russian doll.
+                   The type of this nested element is a local declared simpleType.
+ 									This text is part of a documentation tag that is the fifth child of the <i>rdChild5</i> tag.</xsd:documentation>
+                 </xsd:annotation>
+               </xsd:element>
              </xsd:sequence>
              <xsd:attributeGroup ref="st:std-attrs"/>



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.