RelaxNG/publimeta.rnc
changeset 265 952f42b55374
parent 263 b6ac75b447ae
child 355 469d03c6f570
equal deleted inserted replaced
264:3c6ab08df4e8 265:952f42b55374
   168 
   168 
   169 price.attributes =
   169 price.attributes =
   170    currency.attribute
   170    currency.attribute
   171  & excluding_tax.attribute
   171  & excluding_tax.attribute
   172  & tax.attribute?
   172  & tax.attribute?
       
   173  & territory.attribute?
   173 currency.attribute = attribute currency {
   174 currency.attribute = attribute currency {
   174    "EUR" | "USD" | "GBP" | "CAD" | "CHF" | "JPY" | "MXN" | "KRW" | "BRL"
   175    "EUR" | "USD" | "GBP" | "CAD" | "CHF" | "JPY" | "MXN" | "KRW" | "BRL"
   175  | "INR" | "AUD" | "RUB" | "CNY" | "NOK" | "SEK" | "DKK" }
   176  | "INR" | "AUD" | "RUB" | "CNY" | "NOK" | "SEK" | "DKK" }
   176 excluding_tax.attribute = attribute excluding-tax { xsd:boolean }
   177 excluding_tax.attribute = attribute excluding-tax { xsd:boolean }
   177 tax.attribute = attribute tax { xsd:float }
   178 tax.attribute = attribute tax { xsd:float }
       
   179 territory.attribute = attribute territory { xsd:NMTOKENS }
   178 
   180 
   179 price.content = xsd:float
   181 price.content = xsd:float
   180    
   182    
   181 
   183 
   182 # =============================================================================
   184 # =============================================================================