Why is use of   required sometimes but not others
...in XML documents
mgm_03
3:38 pm on Sep 28, 2004 (gmt 0)
I found that my xml doc would only validate when I used a   for all white spaces.
However, I've seen other xml files that do have white space between words.
Can someone explain why the difference?
macrost
4:26 pm on Oct 7, 2004 (gmt 0)
mgm_03, So when you validate your xml doc, any whitespace needs to have the  ? I have never ran into that problem, only when using a stylesheet, and I can't use unless I declare it with an inline dtd.
mgm_03
5:24 pm on Oct 7, 2004 (gmt 0)
thanks for the reply. i think i found the answer by including the encoding ='iso-8859-01"....now I don't need to worry about whitespaces.