Subject: RE: various XSD format
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 11 May 2007 14:29:25 +0100
|
>what is the diffence between these two formats
The first one is a standard XML Schema. The second one is something else:
I've no idea what. Possibly some early dialect of XML Schema before the
standard was finished?
> is there some known XSL to go from the second to the first ?
Not that I know of!
Michael Kay
http://www.saxonica.com/
> -----Original Message-----
> From: Bru, Pierre [mailto:Pierre.Bru@xxxxxxxxxxxx]
> Sent: 11 May 2007 14:09
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: various XSD format
>
> hi,
>
> I'm used to read XSL file looking like
>
> <xsd:element name="EO_Characteristics">
> <xsd:complexType>
> <xsd:sequence>
> <xsd:element ref="EO_REFERENCE" minOccurs="1" maxOccurs="1"/>
> <xsd:element ref="EO_Originator" minOccurs="1" maxOccurs="1"/>
> <xsd:element ref="Product_Addressee" minOccurs="1"
> maxOccurs="1"/>
> <xsd:element ref="SCHEDULED_DATE" minOccurs="0"
> maxOccurs="1"/>
> <xsd:element ref="COMMENT_TEXT" minOccurs="0" maxOccurs="1"/>
> </xsd:sequence>
> </xsd:complexType>
> </xsd:element>
>
> but I receltly when thru one looking like
>
> <elementType name="EO_Characteristics">
> <sequence>
> <elementTypeRef name="EO_REFERENCE" minOccur="1" maxOccur="1"/>
> <elementTypeRef name="EO_Originator" minOccur="1" maxOccur="1"/>
> <elementTypeRef name="Product_Addressee" minOccur="1"
> maxOccur="1"/>
> <elementTypeRef name="SCHEDULED_DATE" minOccur="0"
> maxOccur="1"/>
> <elementTypeRef name="COMMENT_TEXT" minOccur="0" maxOccur="1"/>
> </sequence>
> </elementType>
>
> what is the diffence between these two formats ? is there
> some known XSL to go from the second to the first ?
>
> TIA,
> Pierre.
|