To retrieve data from a webpage I want to get the full page source and then parse data and filter out only what I require.
This is the HTML code:
Code: Select all
<div class="ui-hide-label" id="P6_ZOEK1_CONTAINER"><label id="P6_ZOEK1_LABEL" for="P6_ZOEK1"></label><div class="ui-input-text ui-body-inherit ui-corner-all ui-shadow-inset"><input name="P6_ZOEK1" class="text_field apex-item-text" id="P6_ZOEK1" type="text" size="30" maxlength="4000" placeholder="Search:" value=""></div></div><input name="P6_GED_ID" id="P6_GED_ID" type="hidden" value=""><input type="hidden" value="0" data-for="P6_GED_ID"><div class="ui-hide-label" id="P6_GED_ACTIVITEIT_CONTAINER"><label id="P6_GED_ACTIVITEIT_LABEL" for="P6_GED_ACTIVITEIT">Blahtext</label><div class="ui-select"><a class="ui-btn ui-icon-carat-d ui-btn-icon-right ui-corner-all ui-shadow" id="P6_GED_ACTIVITEIT-button" role="button" aria-haspopup="true" href="#"><span class="selectlist apex-item-select">AA text</span></a><select name="P6_GED_ACTIVITEIT" tabindex="-1" class="selectlist apex-item-select" id="P6_GED_ACTIVITEIT" size="1" data-native-menu="false">
<option value="AA">AA text</option>
<option value="BB">BB text</option>
It is n long, so it can be 0..*.
I could not find anything in the samples so I decided to create a topic.
Should I be looking at wxHtmlParser to do this? If so, are there any samples I can look at?