Conditional processing im schema!!

Hello,

I have a question. I have the following schema, only
as example:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:element name="Process">
		<xs:annotation>
			<xs:documentation>Conditional
processing</xs:documentation>
		</xs:annotation>
		<xs:element name="first">
		    <xs:complexType>
			  <xs:sequence>
			      <xs:element name="A"
type="xs:positiveInteger" minOccurs="0"/>
			      <xs:element name="B"
type="xs:positiveInteger" minOccurs="0"/>
			      <xs:element name="C"
type="xs:positiveInteger" minOccurs="0"/>
			  </xs:sequence>
		    </xs:complexType>		    
		</xs:element>
		<xs:element name="D" type="xs:int" minOccurs="0"
maxOccurs="unbounded"/>
	</xs:element>
</xs:schema>


My question: I want to generate, that if A has the
value 10, per example D may not seem in the generated
XML document etc..
It was said to me that it goes with Schematron. I had
also tried that. But Schematron runs only under
Windows. 

It's now possible, without Schematron, to form ilk
conditional processings direct im schema ?????



mogo

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

Received on Monday, 15 April 2002 06:23:45 UTC