Below is the sample input for my HAP.
<?xml version="1.0" encoding="UTF-8"?>
<html>
<div class="category">Name:</div>
<div class="category1">Company ABC</div>
<div class="category">ID:</div>
<div class="category1">1</div>
<div class="category">Location:</div>
<div class="category1">Home ABC</div>
<div class="category1">Home DEF</div>
</html>
Using XPath
is it possible to capture the following-sibling of an element delimited by the previous element attribute value? In this case, I would like to store it in a List:
"Name" , {"Company ABC"}
"ID", {"1"}
"Location", {"Home ABC", "Home DEF"}