Browse Source

Remember to paste prefix back onto the XMLname before returning.

main
Gregory Warnes 20 years ago
parent
commit
983fb3a7a1
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      XMLname.py

+ 3
- 1
XMLname.py View File

@@ -71,7 +71,9 @@ def toXMLname(string):
X.append(_toUnicodeHex(T[i])) X.append(_toUnicodeHex(T[i]))
else: else:
X.append(T[i]) X.append(T[i])

if prefix:
return "%s:%s" % (prefix, u''.join(X))
return u''.join(X) return u''.join(X)






Loading…
Cancel
Save