19-12-2018, Saat: 07:40
Free Pascal ile xliff dosyası okumaya çalışıyoram ancak belirsiz bir hata alıylorum. Kod şu şekilde:
Bunu nasıl düzeltebilirim?
Düzenleme: Örnek xliff içeriği
Kod:
FActionLblCaption:=Doc.GetElementById('actionLblCaption').GetElementsByTagName('source').Item[0].TextContent;
FFileLblCaption:=Doc.GetElementById('fileLblCaption').GetElementsByTagName('source').Item[0].TextContent;Bunu nasıl düzeltebilirim?
Düzenleme: Örnek xliff içeriği
Kod:
<?xml version="1.0" encoding="utf-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en">
<body>
<trans-unit id="actionLblCaption">
<source>action</source>
<target>eylem</target>
<note from="description">Label</note>
</trans-unit>
<trans-unit id="fileLblCaption">
<source>file</source>
<target>dosya</target>
<note from="description">Label</note>
</trans-unit>
...