Mar-11-2022, 02:59 PM
(This post was last modified: Mar-11-2022, 02:59 PM by Gribouillis.)
If you want to parse the xml code contained in val, you don't need the triple quote, nor do you need to print val. The triple quotes are only a syntactic token to help write LITERAL python strings. They are not part of the string itself.
>>> x = """hello world""" >>> y = 'hello world' >>> x == y True