This website works better with JavaScript.
Home
Explore
Help
Sign In
jmg
/
wstools-py3
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Remember to paste prefix back onto the XMLname before returning.
main
Gregory Warnes
20 years ago
parent
d68d54b7ea
commit
983fb3a7a1
1 changed files
with
3 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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)
Write
Preview
Loading…
Cancel
Save