- Mitglied seit
- 17.03.2011
- Beiträge
- 317
- Reaktionen
- 0
Die Ausgaben innerhalb einer Software lassen sich mittels XML manipulieren.
Ich will aber erreichen, dass die Informationen die per XML formatiert werden, in eine Textdatei ausgeben werden. In XML Tutorials konnte ich dazu nichts finden. Ist das überhaupt möglich?
Code:
<htmlTemplates>
<battleVictoryResult>#green:<img src='TournamentBattleResultIcon' width='16' height='16' align='baseline' vspace='-1'/><TEXTFORMAT INDENT='20'><P ALIGN='left'><font color='#66CC66'>_(#messenger:serviceChannelMessages/battleResults/victory)</font><BR><TEXTFORMAT INDENT='1'><font color='#A3966E'>%s</font> <font color='#929290'>%s</font><BR><font color='#c5ab5d'>%s </font><font color='#929290'> _(#messenger:serviceChannelMessages/battleResults/experience):</font> <font color='#BDBDBB'><b>%s</b></font><img src='ToolTipXPIcon' width='16' height='15' align='baseline' vspace='-2'/>%s <font color='#929290'>_(#messenger:serviceChannelMessages/battleResults/credits)</font><font color='#FFFFFF'><b>%s</b></font><img src='toolTipCreditsIcon' width='14' height='16' align='baseline' vspace='-2'/><font color='#929290'>%s</font></font>%s%s</P></TEXTFORMAT></battleVictoryResult>
<battleDrawGameResult>#red:<img src='ClanBattleResultIcon' width='16' height='16' align='baseline' vspace='-1'/><TEXTFORMAT INDENT='20'><P ALIGN='left'><font color='#996633'>_(#messenger:serviceChannelMessages/battleResults/drawGame)</font><BR><TEXTFORMAT INDENT='1'><font color='#A3966E'>%s</font> <font color='#929290'>%s</font><BR><font color='#c5ab5d'>%s </font><font color='#929290'> _(#messenger:serviceChannelMessages/battleResults/experience):</font> <font color='#BDBDBB'><b>%s</b></font><img src='ToolTipXPIcon' width='16' height='15' align='baseline' vspace='-2'/>%s <font color='#929290'>_(#messenger:serviceChannelMessages/battleResults/credits)</font><font color='#FFFFFF'><b>%s</b></font><img src='toolTipCreditsIcon' width='14' height='16' align='baseline' vspace='-2'/><font color='#929290'>%s</font></font>%s%s</P></TEXTFORMAT></battleDrawGameResult>
<battleDefeatResult>#red:<img src='BattleResultIcon' width='16' height='16' align='baseline' vspace='-1'/><TEXTFORMAT INDENT='20'><P ALIGN='left'><font color='#f46262'>_(#messenger:serviceChannelMessages/battleResults/defeat)</font><BR><TEXTFORMAT INDENT='0'><font color='#A3966E'>%s</font> <font color='#929290'>%s</font><BR><font color='#c5ab5d'>%s </font><font color='#929290'> _(#messenger:serviceChannelMessages/battleResults/experience):</font> <font color='#BDBDBB'><b>%s</b></font><img src='ToolTipXPIcon' width='16' height='15' align='baseline' vspace='-2'/>%s <font color='#929290'>_(#messenger:serviceChannelMessages/battleResults/credits)</font><font color='#FFFFFF'><b>%s</b></font><img src='toolTipCreditsIcon' width='14' height='16' align='baseline' vspace='-2'/><font color='#929290'>%s</font></font>%s%s</P></TEXTFORMAT></battleDefeatResult>
</htmlTemplates>
Ich will aber erreichen, dass die Informationen die per XML formatiert werden, in eine Textdatei ausgeben werden. In XML Tutorials konnte ich dazu nichts finden. Ist das überhaupt möglich?