Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Either as a list of of one or more territory codes for which a specific set of XML tags apply.

    The code below applies to Germany, Belgium, The Netherlands and Luxembourg:

    Code Block
    languagehtml/xml
    <TerritoryCode>DE</TerritoryCode> 
    <TerritoryCode>BE</TerritoryCode> 
    <TerritoryCode>NL</TerritoryCode> 
    <TerritoryCode>LU</TerritoryCode> 
  2. Or as a "negative list" of territory codes for which a specific set of XML tags does not apply.

    The code below does apply to all territories apart from to Germany, Belgium, The Netherlands and Luxembourg:

    Code Block
    languagehtml/xml
    <ExcludedTerritoryCode>DE</ExcludedTerritoryCode> 
    <ExcludedTerritoryCode>BE</ExcludedTerritoryCode> 
    <ExcludedTerritoryCode>NL</ExcludedTerritoryCode> 
    <ExcludedTerritoryCode>LU</ExcludedTerritoryCode> 
    To avoid confusion: If I send you a deal for <ExcludedTerritoryCode>DE</ExcludedTerritoryCode>, then the information provided applies to ~200 countries — just the Germans are left out. The reason why DDEX allowed this approach in addition to the "positive" list shown in (1) above is to not force messages to contain ~199 ISO codes listed just to exclude one country. This somewhat contradicts DDEX's general approach to be explicit, the inference to from such a negative list, was seen as sufficiently clear. 

     

    Float
    sideright
    width33%
    Info

    Approaches 1 and 2 cannot be combined, approach 3 can, theoretically also combined with 1, Approach 4 is only available in a few places.

  3. Or as a statement that indicates that a specific set of XML tags applies for the entire world:

    Code Block
    languagehtml/xml
    <TerritoryCode>Worldwide</TerritoryCode> 



  4. Or as an attribute in specific cases where a single territory can be ascribed to an event such as the creation of a sound recording:

    Code Block
    languagehtml/xml
    <CreationDate LocationDescription="Abbey Road Studio A" TerritoryCode="GB">2000-01-27</CreationDate> 

...