title: I need to create php class from xsd file not able to create via xsd2php
body: <p>XSD File:
  xsd2php shows below error-
  PHP Fatal error:  Uncaught Error: Class 'Symfony\Component\DependencyInjection\ContainerBuilder' not found in /var/www/html/xsd2php-master/bin/xsd2php:19</p>
  <pre><code>&lt;xs:schema xmlns=&quot;http://www.opentravel.org/OTA/2003/05&quot; xmlns:xs=&quot;http://www.w3.org/2001/XMLSchema&quot; targetNamespace=&quot;http://www.opentravel.org/OTA/2003/05&quot; elementFormDefault=&quot;qualified&quot; version=&quot;4.001&quot; id=&quot;OTA2008B&quot;&gt;
   &lt;xs:include schemaLocation=&quot;OTA_HotelReservation.xsd&quot;/&gt;
   &lt;xs:annotation&gt;
    &lt;xs:documentation xml:lang=&quot;en&quot;&gt;All Schema files in the OTA specification are made available according to the terms defined by the OTA License Agreement at http://www.opentravel.org/Specifications/Default.aspx&lt;/xs:documentation&gt;
   &lt;/xs:annotation&gt;
   &lt;xs:element name=&quot;OTA_HotelResNotifRQ&quot;&gt;
    &lt;xs:annotation&gt;
     &lt;xs:documentation xml:lang=&quot;en&quot;&gt;Hotel Reservation Notif Request supports the functionality of updating other systems with reservation data. The message assumes a push model, with the originating system pushing the data to another system.  The originating system would usually be a booking source, such as a Global Distribution System (GDS), a Central Reservation System (CRS) or some other agent of the hotel.&lt;/xs:documentation&gt;
    &lt;/xs:annotation&gt;
    &lt;xs:complexType&gt;
     &lt;xs:sequence&gt;
      &lt;xs:element name=&quot;POS&quot; type=&quot;POS_Type&quot; minOccurs=&quot;0&quot;&gt;
       &lt;xs:annotation&gt;
        &lt;xs:documentation xml:lang=&quot;en&quot;&gt;The point-of-sale data, contained in the element, communicates the information that allows the receiving system to identify the trading partner that is sending the request or the response message.  &lt;/xs:documentation&gt;
       &lt;/xs:annotation&gt;
      &lt;/xs:element&gt;
      &lt;xs:element name=&quot;MessageID&quot; type=&quot;UniqueID_Type&quot; minOccurs=&quot;0&quot;&gt;
       &lt;xs:annotation&gt;
        &lt;xs:documentation xml:lang=&quot;en&quot;&gt;This represents a batch ID.&lt;/xs:documentation&gt;
       &lt;/xs:annotation&gt;
      &lt;/xs:element&gt;
      &lt;xs:element name=&quot;HotelReservations&quot; type=&quot;HotelReservationsType&quot; minOccurs=&quot;0&quot;/&gt;
     &lt;/xs:sequence&gt;
     &lt;xs:attributeGroup ref=&quot;OTA_PayloadStdAttributes&quot;/&gt;
     &lt;xs:attribute name=&quot;ResStatus&quot; type=&quot;TransactionActionType&quot; use=&quot;optional&quot;/&gt;
     &lt;xs:attribute name=&quot;HoldDuration&quot; type=&quot;xs:duration&quot; use=&quot;optional&quot;&gt;
      &lt;xs:annotation&gt;
       &lt;xs:documentation xml:lang=&quot;en&quot;&gt;The time until a hold is released.&lt;/xs:documentation&gt;
      &lt;/xs:annotation&gt;
     &lt;/xs:attribute&gt;
    &lt;/xs:complexType&gt;
   &lt;/xs:element&gt;
  &lt;/xs:schema&gt;
  </code></pre>