top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

XML: What is the difference among string, normalized string and token ?

+2 votes
307 views
XML: What is the difference among string, normalized string and token ?
posted Jul 20, 2016 by Vikram Singh

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

There are minor differences among these three types of data types. Please find the differences as mentioned.
1. String : String is a data type which contains characters, line feed, carriage returns and tabs. So if any XML element has data type String, it can contain all the mentioned things.
2. Normalized String: This data type is similar to String data type but XML parser removes line feed, carriage return and tabs.
3. Token: When this data type is used for a XML element, XML parser takes similar action as it does for normalizedstring also it removes extra leading and trailing spaces.

answer Jul 21, 2016 by Neeraj Mishra
Similar Questions
...