I'm unable to get an XML code sample to be formatted correctly when used as part of a numerated or bulleted list. The XML doesn't format correctly regardless of whether I toggle the 'code formatting' or 'quote' buttons. The tags just don't appear at all and instead, the content outside the tags is show.
Original post: I'm having some trouble formatting some XML correctly in an answer and was wondering if someone could help me out.
I've taken a look at this answer which doesn't seem to help: Posting XML in Stack Overflow
I've had to put a full stop (.) in the tags causing problems
<item>; otherwise they don't appear at all.
Thanks for your help.