RelaxNG/publiset.rnc
changeset 444 34e00c6a3829
parent 418 2c303e23577d
child 445 e2b49b443853
equal deleted inserted replaced
443:1a11fdaf42a3 444:34e00c6a3829
    96 address.content = simple.inlines
    96 address.content = simple.inlines
    97 
    97 
    98 # ~~~~~~ role
    98 # ~~~~~~ role
    99 role = element role { role.content }
    99 role = element role { role.content }
   100 
   100 
   101 role.content = "author" | "illustrator" | "publisher" | "packager"
   101 role.content = "author" | "illustrator" | "photographer" | "publisher"
   102  | "translator"
   102     | "packager" | "translator"
   103 
   103 
   104 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   104 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   105 
   105 
   106 source = element source {
   106 source = element source {
   107    (  (attribute type { "book" }, source.content.book)
   107    (  (attribute type { "book" }, source.content.book)