Question: I need to only use every other number in a string of numbers.
This is how the xml file content comes to us, but I only want to use The first group and then every other group.
The second number in each group can be ignored. The most important number are the first like 1,3,5 and 29
Can you help? Each group equals “x”:”x”,

```
<CatcList>{“1":"15","2":"15","3":"25","4":"25","5":"35","6":"35","29":"10","30":"10"}</CatcList> 

```

Right now my script looks like this, but I am not the one who wrote it.

I only included the portion that would be needed. The StartPage would be the variable used.
If you have knowledge of how to add 1 to the EndPage Integer, that would be very helpful as well.
Thank you!

```
 Util.StringList xs;
 line.parseLine(",", "", xs);
 for (Int i=0; i<xs.Size; i++) {
   Int qty = xs[i].right(xs[i].Length - xs[i].find(":")-1).toInt()-1;
   for (Int j=0; j<qty; j++) {
      Output_0.File.DocId = product;
      Output_0.File.ImagePath = Image;
      Output_0.File.ImagePath1 = Image;
  Output_0.File.StartPage = xs[i].left(xs[i].find(("-"))).toInt()-1;
  Output_0.File.EndPage = xs[i].mid(xs[i].find("-")+1, (xs[i].find(":") - xs[i].find("-")-1)).toInt()-0;
      Output_0.File.Quantity = qty.toString();
      Output_0.File.commit();

```

Answer: 
You're probably looking for something like **[jdkapidiff](https://github.com/gunnarmorling/jdkapidiff)** which uses *[japicmp](https://github.com/siom79/japicmp)* to generate reports similar to one hosted here by the author - [jdk8-jdk9-api-diff.](https://gunnarmorling.github.io/jdkapidiff/jdk8-jdk9-api-diff.html)

You can clone the project and execute `mvn clean install` to get the similar report on your local.

> 
> Provide a file `~.m2/toolchains.xml` like this:
> 
> 
> 
> ```
> <?xml version="1.0" encoding="UTF8"?>
> <toolchains>
>     <toolchain>
>         <type>jdk</type>
>         <provides>
>             <version>1.8</version>
>             <vendor>oracle</vendor>
>         </provides>
>         <configuration>
>             <jdkHome>/path/to/jdk-1.8</jdkHome>
>         </configuration>
>     </toolchain>
>     <toolchain>
>         <type>jdk</type>
>         <provides>
>             <version>9</version>
>             <vendor>oracle</vendor>
>         </provides>
>         <configuration>
>             <jdkHome>/path/to/jdk-9</jdkHome>
>         </configuration>
>     </toolchain>
> </toolchains>
> 
> ```
> 
>
There are many changes to existing classes and members, in addition to new @since 9 classes and members. The final release of JSR 379 include an annex with the complete set of diffs. The draft is online here:
<http://cr.openjdk.java.net/~iris/se/9/java-se-9-fr-spec-01/apidiffs/overview-summary.html>