- edited description
How do I get segment id delimited by dash
Issue #38
closed
I’ve got this xliff structure:
<segment id="1-1">
<source xml:space="preserve">This is a document</source>
</segment>
<segment id="1-2">
<source xml:space="preserve">This is also a document</source>
</segment>
How do I get the id of 1-1 in the java code?
Segment segment = unit.getSegment(???);
Comments (3)
-
reporter -
reporter - changed status to resolved
by iterating the segment iterables
-
reporter - changed status to closed
- Log in to comment