← Prev in month ← Prev in thread

Summary of XML line break normalization, impact of xml:space="preserve" on normalization

From
Roger L. Costello <>
To
Date
2003-09-08T14:42:45Z
ID
<>
Thread
Summary of XML line break normalization, impact of xml:space="preserve" on normalization
Hi Folks,

Thanks a lot for your help.  Here is a summary of the discussion:

1. All line breaks in an XML document are normalized to \n

2. The xml:space="preserve" attribute does not affect line break
normalization

3. Other line separator characters can be inserted into an XML document
(without getting normalized) by using character entity references.
     For example, ordinarily \r would be normalized to \n.
     If you want a \r in your XML document then use &#xD;

/Roger
← Prev in month ← Prev in thread