Talk:XML/Output: Difference between revisions

→‎Escaping Escapes: Ddit sample output so that preview output looks like program output
(→‎Modification of Task: don't sweat it...)
(→‎Escaping Escapes: Ddit sample output so that preview output looks like program output)
Line 56:
==Escaping Escapes==
The output of the Python example has characters like > escaped but in a <pre tag it is viewed as the character rather than the escaped version. As all XML escapes start with an ampersand, I replaced the ampersand in the true Python output with the sequence five character sequence '&amp;amp;' and the output on page reflects the textual output of the program. --[[User:Paddy3118|Paddy3118]] 18:40, 9 June 2009 (UTC)
 
'''Please edit sample output so that preview output looks like program output. Unless you manually escape-the-escapes as above, you will end up seeing the character rather than the escape sequence!''' --[[User:Paddy3118|Paddy3118]] 06:10, 12 June 2009 (UTC)
Anonymous user