namespace pm = "http://www.politicalmashup.nl"

# names of persons and parties

Name = element pm:name { NameContent }

AlternativeNames = element pm:alternative-names { AlternativeNamesContent }

AlternativeNamesContent = 
    Source?
    & Name+

NameContent =
    Source?
    & attribute pm:nametype { NameType }?
    & element pm:first {text}?
    & element pm:full {text}?
    & element pm:last {text}?
    & element pm:initials {text}?
    & Titles*
    & text

Titles = element pm:titles{TitlesContent}

TitlesContent = 
    Source?
    & element pm:title{TitleContent}+

TitleContent = 
    Source?
    & attribute pm:honorific { HonorificType }
    & attribute pm:position { PositionType }
    & text