RelaxNG/publiset.rnc
changeset 97 e28caa4cbf4c
parent 96 4817d2fa8801
child 98 276a83581fb4
equal deleted inserted replaced
96:4817d2fa8801 97:e28caa4cbf4c
    98 
    98 
    99 composition.division.attributes =
    99 composition.division.attributes =
   100    path.attribute?
   100    path.attribute?
   101  & xpath.attribute?
   101  & xpath.attribute?
   102  & xslt.attribute?
   102  & xslt.attribute?
   103  & transform.attribute?
       
   104  & remap.attributes
   103  & remap.attributes
   105 selection.division.attributes =
   104 selection.division.attributes =
   106    path.attribute?
   105    path.attribute?
   107 transform.attribute = attribute transform { xsd:anyURI }
       
   108 
   106 
   109 composition.division.content =
   107 composition.division.content =
   110    composition.head?,
   108    composition.head?,
   111    (composition.division | composition.file)+
   109    (composition.division | composition.file)+
   112 selection.division.content =
   110 selection.division.content =
   274 # =============================================================================
   272 # =============================================================================
   275 
   273 
   276 remap.attributes =
   274 remap.attributes =
   277    as.attribute?
   275    as.attribute?
   278  & attributes.attribute?
   276  & attributes.attribute?
       
   277  & transform.attribute?
   279 as.attribute = attribute as { xsd:QName }
   278 as.attribute = attribute as { xsd:QName }
   280 attributes.attribute =
   279 attributes.attribute =
   281    attribute attributes {list { (xsd:token {pattern = "\c+=\S+"})+ }}
   280    attribute attributes {list { (xsd:token {pattern = "\c+=\S+"})+ }}
       
   281 transform.attribute = attribute transform { xsd:anyURI }