Hi, I wanted to extract the xliff file to get ordered id number for segment this is the example
<xliff
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2
http://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd"
xmlns="urn:oasis:names:tc:xliff:document:1.2"
xmlns:xhtml="
http://www.w3.org/1999/xhtml" version="1.2">
<file original="course" datatype="plaintext" source-language="en-US">
<body>
<trans-unit id="title">
<source>TH [SEA Product 101] PREEN SCREEN™ SPF 50 REAPPLICATION MIST</source>
</trans-unit>
<trans-unit id="description">
<source>
<g id="xOkRhmcxknbMLo2w" ctype="x-html-P">
<g id="thIW-cpxPXvhHJhi" ctype="x-html-SPAN" xhtml:style="color: rgb(0, 16, 158);">It's the SPF dilemma we all face on a daily basis: How do I reapply my sunscreen effortlessly AND without distrupting my makeup?</g>
</g>
<g id="JHbDSAwSt8s2CnX1" ctype="x-html-P">
<g id="nytY4y568fnlSDwu" ctype="x-html-SPAN" xhtml:style="color: rgb(0, 16, 158);">Enter
<g id="cI_-uRgis1uce1o0" ctype="x-html-STRONG"> PREEN SCREEN™ SPF 50 REAPPLICATION MIST.</g> For SPF touch-ups on the go, without the fuss.
</g>
</g>
</source>
</trans-unit>
</body>
</file>
</xliff>
but the result is like this tag changed to bpt and the id is not number
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2"
xmlns="urn:oasis:names:tc:xliff:document:1.2"
xmlns:okp="okapi-framework:xliff-extensions"
xmlns:its="
http://www.w3.org/2005/11/its"
xmlns:itsxlf="
http://www.w3.org/ns/its-xliff/" its:version="2.0">
<file original="course" source-language="en" target-language="id" datatype="x-plaintext" okp:inputEncoding="UTF-8">
<body>
<trans-unit id="title">
<source xml:lang="en">TH [SEA Product 101] PREEN SCREEN™ SPF 50 REAPPLICATION MIST</source>
<seg-source>
<mrk mid="0" mtype="seg">TH [SEA Product 101] PREEN SCREEN™ SPF 50 REAPPLICATION MIST</mrk>
</seg-source>
<target xml:lang="id">
<mrk mid="0" mtype="seg">TH [SEA Product 101] PREEN SCREEN™ SPF 50 REAPPLICATION MIST</mrk>
</target>
</trans-unit>
<trans-unit id="description">
<source xml:lang="en">
<bpt id="xOkRhmcxknbMLo2w"></bpt>
<bpt id="thIW-cpxPXvhHJhi"></bpt>It's the SPF dilemma we all face on a daily basis: How do I reapply my sunscreen effortlessly AND without distrupting my makeup?
<ept id="thIW-cpxPXvhHJhi"></ept>
<ept id="xOkRhmcxknbMLo2w"></ept>
<it id="JHbDSAwSt8s2CnX1" pos="open"></it>
<it id="nytY4y568fnlSDwu" pos="open"></it>Enter
<bpt id="cI_-uRgis1uce1o0"></bpt> PREEN SCREEN™ SPF 50 REAPPLICATION MIST.
<ept id="cI_-uRgis1uce1o0"></ept> For SPF touch-ups on the go, without the fuss.
<it id="nytY4y568fnlSDwu" pos="close"></it>
<it id="JHbDSAwSt8s2CnX1" pos="close"></it>
</source>
<seg-source>
<mrk mid="0" mtype="seg">
<bpt id="xOkRhmcxknbMLo2w"></bpt>
<bpt id="thIW-cpxPXvhHJhi"></bpt>It's the SPF dilemma we all face on a daily basis: How do I reapply my sunscreen effortlessly AND without distrupting my makeup?
<ept id="thIW-cpxPXvhHJhi"></ept>
<ept id="xOkRhmcxknbMLo2w"></ept>
</mrk>
<mrk mid="1" mtype="seg">
<it id="JHbDSAwSt8s2CnX1" pos="open"></it>
<it id="nytY4y568fnlSDwu" pos="open"></it>Enter
<bpt id="cI_-uRgis1uce1o0"></bpt> PREEN SCREEN™ SPF 50 REAPPLICATION MIST.
<ept id="cI_-uRgis1uce1o0"></ept>
</mrk>
<mrk mid="2" mtype="seg">For SPF touch-ups on the go, without the fuss.
<it id="nytY4y568fnlSDwu" pos="close"></it>
</mrk>
<mrk mid="3" mtype="seg">
<it id="JHbDSAwSt8s2CnX1" pos="close"></it>
</mrk>
</seg-source>
<target xml:lang="id">
<mrk mid="0" mtype="seg">
<bpt id="xOkRhmcxknbMLo2w"></bpt>
<bpt id="thIW-cpxPXvhHJhi"></bpt>It's the SPF dilemma we all face on a daily basis: How do I reapply my sunscreen effortlessly AND without distrupting my makeup?
<ept id="thIW-cpxPXvhHJhi"></ept>
<ept id="xOkRhmcxknbMLo2w"></ept>
</mrk>
<mrk mid="1" mtype="seg">
<it id="JHbDSAwSt8s2CnX1" pos="open"></it>
<it id="nytY4y568fnlSDwu" pos="open"></it>Enter
<bpt id="cI_-uRgis1uce1o0"></bpt> PREEN SCREEN™ SPF 50 REAPPLICATION MIST.
<ept id="cI_-uRgis1uce1o0"></ept>
</mrk>
<mrk mid="2" mtype="seg">For SPF touch-ups on the go, without the fuss.
<it id="nytY4y568fnlSDwu" pos="close"></it>
</mrk>
<mrk mid="3" mtype="seg">
<it id="JHbDSAwSt8s2CnX1" pos="close"></it>
</mrk>
</target>
</trans-unit>
</body>
</file>
</xliff>
tikal.sh -fc okf_autoxliff -ie UTF-8 -x test.xlf -seg languagetoolorg-srx.srx -sl en -tl id