If you're writing an XSLT, whitespace typically either comes directly from the input document or while you're building the output tree. If you want to remove unwanted input whitespace from the input document and you want to make sure your output tree doesn't have any insignificant whitespace, use the strip-space and output instructions.