A composition containing a polymer, a crosslinker and a photo-activatable catalyst
is placed on a substrate. The composition is exposed to a predetermined pattern
of light, leaving an unexposed region. The light causes the polymer to become crosslinked
by hydrosilylation. A solvent is used to remove the unexposed composition from
the substrate, leaving the exposed pattern to become a sorbent polymer film that
will absorb a predetermined chemical species when exposed to such chemical species.