The chemical reactions and pathways resulting in the formation of polysaccharides that make up the capsule, a protective structure surrounding some species of bacteria and fungi.
capsule polysaccharide anabolism