Represent space and tab in XML tag?

How can space and tab be represented in an XML tag?

Are there any special characters that can represent them?


Solution 1:

I think you could use an actual space or tab directly in XML document, but if you are looking for special characters to represent them so that text processors can't mess them up, then it's:

space =  
tab   = 	

Solution 2:

Works for me

\n = 

\r = 
\t = 	
space =  

Here is an example on how to use them in XML

<KeyWord name="hello&#x9;" />