RelaxNG/publimeta.rnc
changeset 262 2906cd61506b
parent 260 a904cb6b2760
child 263 b6ac75b447ae
--- a/RelaxNG/publimeta.rnc	dim. nov. 17 11:05:39 2013 +0100
+++ b/RelaxNG/publimeta.rnc	dim. nov. 17 15:19:01 2013 +0100
@@ -47,7 +47,7 @@
  & keywordset?
  & subjectset?
  & abstract?
- & price?
+ & price*
 
 
 # =============================================================================
@@ -167,7 +167,13 @@
 
 price.attributes =
    currency.attribute
-currency.attribute = attribute currency { "EUR" | "USD" }
+ & excluding_tax.attribute
+ & tax.attribute?
+currency.attribute = attribute currency {
+   "EUR" | "USD" | "GBP" | "CAD" | "CHF" | "JPY" | "MXN" | "KRW" | "BRL"
+ | "INR" | "AUD" | "RUB" | "CNY" | "NOK" | "SEK" | "DKK" }
+excluding_tax.attribute = attribute excluding-tax { xsd:boolean }
+tax.attribute = attribute tax { xsd:float }
 
 price.content = xsd:float