xsl-list
[Top] [All Lists]

RE: [xsl] various XSD format

2007-05-13 11:32:00
thanks a  lot :) 

-----Original Message-----
From: Joe Fawcett [mailto:joefawcett(_at_)hotmail(_dot_)com] 
Sent: Friday, May 11, 2007 3:21 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] various XSD format

Pierre

The second is an older form of schema, used, and I think invented, by 
Microsoft before XSD was finalised.
It is called XDR, XML Data Reduced.
It is only used in their products now for backward compatibility.
I'm not sure if there's an XSLT to convert but there is a 
tool that does a 
good a job as possible. It is called xsd.exe and comes as 
part of the .NET 
framework SDK.


Joe
http://joe.fawcett.name

----- Original Message ----- 
From: "Bru, Pierre" <Pierre(_dot_)Bru(_at_)spotimage(_dot_)fr>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Friday, May 11, 2007 2:08 PM
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>
--~--



--~------------------------------------------------------------------
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>