When you say "XML" you are referring to the HTML tags?
I.e. the div, p, etc?
Don't put them in MD. Read the Kramdown documentation (it is quite good). The normal way is to do the formatting through classed or id's.
You specify the class as follows in MD:
This is my text
This will cause the text to be of the class type "my class".