How do I get segment id delimited by dash

Issue #38 closed
Handika D created an issue

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)

  1. Log in to comment