RelaxNG/publidoc.rnc
changeset 237 b5b968159699
parent 236 dbec7d0cb842
child 238 1e881598ecad
equal deleted inserted replaced
236:dbec7d0cb842 237:b5b968159699
   392    x.attribute
   392    x.attribute
   393  & y.attribute
   393  & y.attribute
   394  & w.attribute
   394  & w.attribute
   395  & h.attribute?
   395  & h.attribute?
   396  & hotspot.display.attribute?
   396  & hotspot.display.attribute?
       
   397  & hotspot.type.attribute?
   397  & xmlid.attribute?
   398  & xmlid.attribute?
   398 x.attribute = attribute x { xsd:token {pattern = "\d{1,2}(\.\d{1,2})?%"} }
   399 x.attribute = attribute x { xsd:token {pattern = "\d{1,2}(\.\d{1,2})?%"} }
   399 y.attribute = attribute y { xsd:token {pattern = "\d{1,2}(\.\d{1,2})?%"} }
   400 y.attribute = attribute y { xsd:token {pattern = "\d{1,2}(\.\d{1,2})?%"} }
   400 w.attribute = attribute w { xsd:token {pattern = "\d{1,2}(\.\d{1,2})?%"} }
   401 w.attribute = attribute w { xsd:token {pattern = "\d{1,2}(\.\d{1,2})?%"} }
   401 h.attribute = attribute h { xsd:token {pattern = "\d{1,2}(\.\d{1,2})?%"} }
   402 h.attribute = attribute h { xsd:token {pattern = "\d{1,2}(\.\d{1,2})?%"} }
   402 hotspot.display.attribute = attribute display { "normal" | "visible" | "pulse" }
   403 hotspot.display.attribute = attribute display { "normal" | "visible" | "pulse" }
       
   404 hotspot.type.attribute = attribute type { xsd:NCName }
   403    
   405    
   404 hotspot.content =
   406 hotspot.content =
   405    ((link | p+ | hotspot.image | audio | video), (spot, scenario?)?)
   407    ((link | p+ | hotspot.image | audio | video), (spot, scenario?)?)
   406  | (spot, scenario?)
   408  | (spot, scenario?)
   407    
   409