(start of) Relax NG equivalent


\div =
  element div { attlist.div, head*, (lg | l | lb)*, signed* }
attlist.div &=
  attribute n { text }?,
  attribute type { text }?
lg = element lg { attlist.lg, head?, (l | lb)+ }
attlist.lg &= attribute n { text }?
head = element head { attlist.head, text }
attlist.head &= attribute type { text }?
l = element l { attlist.l, (text | emph | q | lb)* }
attlist.l &= empty
lb = element lb { attlist.lb, empty }
attlist.lb &=
  attribute n { text }?}
q = element q { attlist.q, (text | lb)* }
attlist.q &= empty
emph = element emph { attlist.emph, (text | lb)* }
attlist.emph &= empty
signed = element signed { attlist.signed, text }
attlist.signed &= empty
start = \div

28 Next | First| Previous Digital Texts with XML and the TEI