Fixed XML format to match our spec

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@211 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
mcmartin
2002-11-14 03:16:33 +00:00
parent f96391c2a0
commit b439a9eea6
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -72,8 +72,10 @@ class Speeches:
result += ' <speech id="'+speech.id+'">\n' result += ' <speech id="'+speech.id+'">\n'
if speech.audio is not None: if speech.audio is not None:
result += ' <audio><file>'+speech.audio+'</file></audio>\n' result += ' <audio><file>'+speech.audio+'</file></audio>\n'
result += ' <text>\n'
for line, i in zip(speech.lines, xrange(sys.maxint)): for line, i in zip(speech.lines, xrange(sys.maxint)):
result += _xml_line(line, i==0) result += _xml_line(line, i==0)
result += ' </text>\n'
result += ' </speech>\n' result += ' </speech>\n'
result += '</speeches>\n' result += '</speeches>\n'
Binary file not shown.