RelaxNG/publidoc.rnc
changeset 140 4c01e659284a
parent 138 06fb88fe4136
child 142 a9dda767468c
equal deleted inserted replaced
139:053afd50e85d 140:4c01e659284a
   558  & date*
   558  & date*
   559  & name*
   559  & name*
   560  & note*
   560  & note*
   561  & foreign*
   561  & foreign*
   562  & highlight*
   562  & highlight*
   563  & mentioned*
       
   564  & quote*
   563  & quote*
   565  & acronym*
   564  & acronym*
       
   565  & mentioned*
   566  & term*
   566  & term*
       
   567  & literal*
   567  & link*
   568  & link*
   568  & anchor*
   569  & anchor*
   569  & initial*
   570  & initial*
   570  & image*
   571  & image*
   571  & smil*
   572  & smil*
   656 
   657 
   657 highlight = element highlight { highlight.content }
   658 highlight = element highlight { highlight.content }
   658 
   659 
   659 highlight.content = inlines
   660 highlight.content = inlines
   660 
   661 
   661 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mentioned ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       
   662 
       
   663 mentioned = element mentioned { mentioned.content }
       
   664 
       
   665 mentioned.content = inlines
       
   666 
       
   667 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ quote ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   662 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ quote ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   668 
   663 
   669 quote = element quote { quote.content }
   664 quote = element quote { quote.content }
   670 
   665 
   671 quote.content =
   666 quote.content =
   679 
   674 
   680 acronym = element acronym { acronym.content }
   675 acronym = element acronym { acronym.content }
   681 
   676 
   682 acronym.content = inlines
   677 acronym.content = inlines
   683 
   678 
       
   679 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mentioned ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       
   680 
       
   681 mentioned = element mentioned { mentioned.content }
       
   682 
       
   683 mentioned.content = inlines
       
   684 
   684 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ term ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   685 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ term ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   685 
   686 
   686 term = element term { term.content }
   687 term = element term { term.content }
   687 
   688 
   688 term.content = inlines
   689 term.content = inlines
       
   690 
       
   691 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ literal ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       
   692 
       
   693 literal = element literal { literal.content }
       
   694 
       
   695 literal.content = text
   689 
   696 
   690 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ link ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   697 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ link ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   691 
   698 
   692 link = element link { link.attributes, link.content }
   699 link = element link { link.attributes, link.content }
   693 
   700