xml:space
to control what happens. Now regardless of what the attribute is set for, the Parsers are always going to pass the white space along to the underlying application because that's what the XML spec has to do and its upto the application to decide what it wants to do with white space it encounters.
There are two values that can be specified to xml:space
attribute.
1) string "default
" in which the application should just use whatever its default settings are for handling whitespace.
2) "preserve
" which tells the application that it should try to preserve all the white spaces that it comes across regardless of where it sees inside the elements.