[Warning, XSLT noob.]
In the XML source I'm working with, some node values that should be
identical, vary slightly from value to value. The differences are in
whitespace (some have a carriage return mid-string).
Ideally, I'd like to normalize-space() all of the values of the
underlying data, so that I later use and reuse the cleaned data
throughout the rest of the transformation (so I could properly use
distinct-values() on that list, etc.).
Is there a way to modify the underlying data, as opposed to having to
clean it each time you come to it?
Thanks,
Jamie