2 ms·
3. and 4. are valid in XML.
by _pmf_ 8y ago
3. and 4. are valid in XML.
- Zarel 8y agoOh, huh, I didn't know XML uses the same comments as HTML. 4 is valid, though: XML requires special directives to preserve whitespace. JSX requires different syntax with {`...`}, but it's a similar idea.
- _pmf_ 8y ago> XML requires special directives to preserve whitespace Not in what you would consider content: from http://usingxml.com/Basics/XmlSpace http://usingxml.com/Basics/XmlSpace: "White space in any other location must be passed on to the processing application, according to the XML specification."