All whitespace characters in the xml content are preserved and whitespace within element tags and attribute values may be removed.
Plesae tell me why?
Thanks Johnson :roll:
posted 11 years ago
I think u'll get clarification if u see the purpose of the whitespace.
White space serves two distinct purposes. The first is to introduce spaces and line breaks into the element content in a manner that has semantic significance for the XML application, whether this is to separate word and textual parts, to describe visual formatting, or otherwise.
The second is the use of white space to visually format the document in its source form, e.g. when using a text editor to edit an XML file. Such use of white space is purely to assist the reader or editor of the document. This white space is not part of the information conveyed by the document and bears no semantic significance for the XML application.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads