title: How to create "New" functions using Delphi XSD databinding wizard
body: <p>According to <a href="http://docwiki.embarcadero.com/RADStudio/en/Using_Code_That_the_XML_Data_Binding_Wizard_Generates" rel="nofollow">Embarcadero's documentation</a></p>
  
  <blockquote>
    <p>Call the generated New... function to create the TXMLDocument instance for an empty document when you want to create all the data in your application:</p>
  
  <pre><code>var
    StockList: IXMLStockListType;
  begin
    StockList := Newstocklist;     
  
  _di_IStockListType StockList = NewStockListType();
  </code></pre>
  </blockquote>
  
  <p>However, I don't get any New... functions in the 26833 lines of code Delphi generated when importing the <a href="http://xreg2.nist.gov/cda-validation/downloads/HITSP_C32v2.1_TestPackage.zip" rel="nofollow">XSD for the Clinical Document Architecture</a> .  </p>
  
  <p>So, what triggers the generation of these New functions?  </p>