( ( The glycocalyx ) ( ( is ( ( referred ( to ( as ( a capsule ) ) ) ) ( if ( it ( is ( ( ( firmly ( attached ( ( ( ( to ( the ( cell wall ) ) ) , ) or ) ( as ( a ( slime layer ) ) ) ) ) ) if ) ( loosely attached ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (DT The) (NN glycocalyx)) (VP (VBZ is) (VP (VBN referred) (PP (TO to) (NP (RB as) (DT a) (NN capsule))) (SBAR (IN if) (S (NP (PRP it)) (VP (VBZ is) (ADJP (ADJP (RB firmly) (JJ attached) (PP (PP (TO to) (NP (DT the) (NN cell) (NN wall))) (, ,) (CC or) (PP (IN as) (NP (DT a) (NN slime) (NN layer))))) (IN if) (ADJP (RB loosely) (JJ attached)))))))) (. .)))
The glycocalyx is referred to as a capsule if it is firmly attached to the cell wall, or as a slime layer if loosely attached.
(ROOT (S (NP (DT The) (NN capsule)) (VP (VBZ is) (NP (NP (DT the) (NN layer)) (PP (IN outside) (NP (NP (DT the) (NN cell) (NN wall)) (PP (IN in) (NP (DT a) (NN prokaryote))))))) (. .)))
The capsule is the layer outside the cell wall in a prokaryote.