<questions
   xmlns:xml="http://www.w3.org/XML/1998/namespace"
   xmlns:metal="http://xml.zope.org/namespaces/metal"
   xmlns:tal="http://xml.zope.org/namespaces/tal">

 <licenseclass id="standard">

  <metal:repeat tal:repeat="locale locales">
    <label tal:attributes="xml:lang locale"
           tal:content="structure python: lookupString('util.Creative_Commons', locale)">
     util.Creative_Commons</label>
  </metal:repeat>

  <field id="commercial">
   <metal:repeat tal:repeat="locale locales">
    <label tal:attributes="xml:lang locale"
           tal:content="structure python: lookupString('api.commercial', locale)">
     api.commercial</label>
   </metal:repeat>

   <metal:repeat tal:repeat="locale locales">
    <description tal:attributes="xml:lang locale"
      tal:content="structure python: lookupString('char.nc_description', locale)">
     char.nc_description.</description>
   </metal:repeat>

   <type>enum</type>
   <enum id="y">
     <metal:repeat tal:repeat="locale locales">
     <label tal:attributes="xml:lang locale"
            tal:content="structure python: lookupString('util.Yes', locale)">
      util.Yes</label>
     </metal:repeat>
   </enum>
   <enum id="n">
     <metal:repeat tal:repeat="locale locales">
     <label tal:attributes="xml:lang locale"
            tal:content="structure python: lookupString('util.No', locale)">
      util.No</label>
   </metal:repeat>
   </enum>
  </field>

  <field id="derivatives">
     <metal:repeat tal:repeat="locale locales">
   <label tal:attributes="xml:lang locale"
          tal:content="structure python: lookupString('api.derivatives', locale)">
      api.derivatives</label>
   </metal:repeat>
     <metal:repeat tal:repeat="locale locales">
   <description tal:attributes="xml:lang locale"
     tal:content="structure python: lookupString('char.nd_description', locale)">
      char.nd_description</description>
   </metal:repeat>
   <type>enum</type>
   <enum id="y">
     <metal:repeat tal:repeat="locale locales">
     <label tal:attributes="xml:lang locale"
            tal:content="structure python: lookupString('util.Yes', locale)">
      util.Yes</label>
   </metal:repeat>
   </enum>
   <enum id="sa">
     <metal:repeat tal:repeat="locale locales">
     <label tal:attributes="xml:lang locale"
           tal:content="structure python: lookupString('licenses.pretty_sa', locale)">
      licenses.pretty_sa</label>
   </metal:repeat>
   </enum>
   <enum id="n">
     <metal:repeat tal:repeat="locale locales">
     <label tal:attributes="xml:lang locale"
            tal:content="structure python: lookupString('util.No', locale)">
      util.No</label>
   </metal:repeat>
   </enum>
  </field>

  <field id="jurisdiction">
     <metal:repeat tal:repeat="locale locales">
   <label tal:attributes="xml:lang locale"
          tal:content="structure python: lookupString('api.jurisdiction', locale)">
    api.jurisdiction</label>
   </metal:repeat>
     <metal:repeat tal:repeat="locale locales">
   <description tal:attributes="xml:lang locale"
     tal:content="structure python: lookupString('license.jurisdiction_help', locale)">
    license.jurisdiction_help</description>
   </metal:repeat>
   <type>enum</type>
   <enum id="">
     <metal:repeat tal:repeat="locale locales">
       <label tal:attributes="xml:lang locale"
              tal:content="structure python: lookupString('util.Generic', locale)">
        util.Generic</label>
     </metal:repeat>
   </enum>
   <enum id="at" 
	 tal:repeat="j jurisdictions"
	 tal:attributes="id j">
     <metal:repeat tal:repeat="locale locales">
       <label tal:attributes="xml:lang locale"
              tal:content="structure python: lookupString('country.%s' % j, locale)">
        country.at</label>
     </metal:repeat>
   </enum>

  </field>

 </licenseclass>

 <licenseclass id="publicdomain">
  <metal:repeat tal:repeat="locale locales" >
   <label tal:attributes="xml:lang locale"
              tal:content="structure python:
			   lookupString('licenses.pretty_publicdomain',
			   locale)">
     licenses.pretty_publicdomain</label>
  </metal:repeat>
 </licenseclass>

 <licenseclass id="recombo">
  <metal:repeat tal:repeat="locale locales" >
   <label tal:attributes="xml:lang locale"
              tal:content="structure python: lookupString('util.Sampling', locale)"
    >util.Sampling</label>
  </metal:repeat>


  <field id="jurisdiction">
   <metal:repeat tal:repeat="locale locales">
     <label tal:attributes="xml:lang locale"
            tal:content="structure python: lookupString('api.jurisdiction', locale)">
      api.jurisdiction</label>
   </metal:repeat>

   <metal:repeat tal:repeat="locale locales">
     <description tal:attributes="xml:lang locale"
       tal:content="structure python: lookupString('license.jurisdiction_help', locale)">
      license.jurisdiction_help</description>
   </metal:repeat>

   <type>enum</type>

   <enum id="">
     <metal:repeat tal:repeat="locale locales">
       <label tal:attributes="xml:lang locale"
              tal:content="structure python: lookupString('util.Generic', locale)">
        util.Generic</label>
     </metal:repeat>
   </enum>

   <enum id="br">
     <metal:repeat tal:repeat="locale locales">
       <label tal:attributes="xml:lang locale"
              tal:content="structure python: lookupString('country.br', locale)">
        country.br</label>
     </metal:repeat>
   </enum>

   <enum id="tw">
     <metal:repeat tal:repeat="locale locales">
       <label tal:attributes="xml:lang locale"
              tal:content="structure python: lookupString('country.tw', locale)">
        country.tw</label>
     </metal:repeat>
   </enum>

  </field>

  <field id="sampling">
    <metal:repeat tal:repeat="locale locales">
      <label tal:attributes="xml:lang locale"
             tal:content="structure python: lookupString('api.sampling_flavor', locale)">
        api.sampling_flavor</label>
    </metal:repeat>
    <metal:repeat tal:repeat="locale locales">
      <description tal:attributes="xml:lang locale"
        tal:content="structure python: lookupString('api.sampling_flavor_help', locale)">
        api.sampling_flavor_help</description>
    </metal:repeat>

   <type>enum</type>
   <enum id="sampling">
     <metal:repeat tal:repeat="locale locales">
       <label tal:attributes="xml:lang locale"
             tal:content="structure python: lookupString('util.Sampling', locale)">
        util.Sampling</label>
     </metal:repeat>
   </enum>
   <enum id="samplingplus">
     <metal:repeat tal:repeat="locale locales">
       <label tal:attributes="xml:lang locale"
             tal:content="structure python: lookupString('licenses.pretty_sampling+', 
                                               locale)">
        licenses.pretty_sampling+</label>
     </metal:repeat>
   </enum>
   <enum id="ncsamplingplus">
     <metal:repeat tal:repeat="locale locales">
       <label tal:attributes="xml:lang locale"
             tal:content="structure python: lookupString('licenses.pretty_nc-sampling+', 
                                               locale)">
        licenses.pretty_nc-sampling+</label>
     </metal:repeat>
   </enum>
 </field>

 </licenseclass>

</questions>
