Question: I was creating some crawlers using import.io however seems like for some of them the option for run locally is not showing. Anyone knows why they dont have the run from local button or how i can make to put in the crawlers?

Answer: 
Your XML is

```
<data>
   <employee>
      <name>A</name>
      <title>Manager</title>
      <name>B</name>
      <title>Manager</title>
   </employee>
</data>

```

I would suggest you try it with

```
<data>
   <employee>
      <name>A</name>
      <title>Manager</title>
   </employee>
   <employee>
      <name>B</name>
      <title>Manager</title>
   </employee>
</data>

```

There is otherwise (correctly) only 1 employee node of which you print a name and title
Couple of things: there is only one `<employee>` node, so your loop iterates once. Consider adding a second node to String:

```
String xmlRecords = "<data><employee><name>A</name><title>Manager</title></employee>" +
                    "<employee><name>B</name><title>Manager</title></employee></data>";

```

Secondly, for the `<name>` and `<title>` do not iterate on these inner nodes as there is only one within each employee. So use zeros instead of the `i`. This of course depends on above parent node change.

```
NodeList name = element.getElementsByTagName("name");
Element line = (Element) name.item(0);

NodeList title = element.getElementsByTagName("title");
line = (Element) title.item(0);

```

Doing above yields your desired result:

```
Name: A
Title: Manager
Name: B
Title: Manager

```