xsl-list
[Top] [All Lists]

RE: [xsl] various XSD format

2007-05-11 06:29:52
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(_dot_)Bru(_at_)spotimage(_dot_)fr] 
Sent: 11 May 2007 14:09
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] 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.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>