I'm using the xpath processor to iterate over a list of nodes in xml. The input xml to the xpath processor is in a compact (single line, no extra whitespace) form. The result of the xpath processor is xml that has been somewhat pretty-printed (newlines and indenting between adjoining elements). Is there a way to turn this off? I'm trying to process something that is whitespace sensitive and don't want to have to try to detect and strip the whitespace being inserted.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm using the xpath processor to iterate over a list of nodes in xml. The input xml to the xpath processor is in a compact (single line, no extra whitespace) form. The result of the xpath processor is xml that has been somewhat pretty-printed (newlines and indenting between adjoining elements). Is there a way to turn this off? I'm trying to process something that is whitespace sensitive and don't want to have to try to detect and strip the whitespace being inserted.