I need the XPath expression to retrieve a paragraph with line breaks in
html in Android
<P>JOHANNESBURG (dialing code 011) <BR> <BR>Police 10111 <BR>Serious
and Violent Crimes 011 986 9000 <BR>Ambulance 082 911 <BR>Sandton
Medi-Clinic 011 709 2000 <BR>Fire Brigade 10177 <BR>Lifeline
011 728 1331 <BR>JHB General Hospital 011 488 4911 <BR>Poison Centre
080033344 <BR>24 Hour Water and Sewage 011 688 1500 <BR>Electricity 011
375 5555 <BR>Gas 011 726 3138 <BR>Gas After Hours 011 726 4702 <BR>Child
Abuse Unit 011 481 5118 <BR>POWA 011 642 4345 <BR>Gender Abuse Helpline
0800150150 <BR>Child Helpline 0800055555 <BR>Animal Anti Cruelty League
011 435 0672 <BR>Tourist Assistance 011 214 0700 <BR>Alcoholics Anonymous
011 436 0116 <BR>SANCA 011 781 6410 <BR> </P> <P>CAPE TOWN
(021) <BR> <BR>Police 10111 <BR>Serious and Violent
Crimes 0860010111 <BR>Ambulance 082 911 <BR>Medi-Clinic 021
461 1124 <BR>Fire Brigade 10177 <BR>Lifeline 021 461 1111 <BR>Cape
Town Hospital 021 404 9111 <BR>Poison Centre 021 931 6129 <BR>24 Hour
Water and Sewage 021 799 5224 <BR>Electricity 0860125006 <BR>Child
Abuse Unit 0800055555 <BR>POWA 021 447 9762 <BR>Child Helpline 0800555555
<BR>Animal Anti Cruelty League 021 534 6426 <BR>Tourist Assistance 021 405
4500 <BR>Alcoholics Anonymous 021 418 0020 <BR>Sea Rescue 021 449
3500 <BR> </P> <P>PRETORIA (diaing code 012) top
<BR> <BR>Police 10111 <BR>Serious and Violent Crimes 012 358
7095 <BR>Ambulance 082 911 <BR>Medi-Clinic 012 807 0019 <BR>Fire
Brigade 10177 <BR>Lifeline 012 342 2222 <BR>Pretoria Hospital 012
677 8000 <BR>Poison Centre 0800333444 <BR>24 Hour Water and Sewage 012 358
2111 <BR>Electricity 0801111556 <BR>Child Abuse Unit 012 334 4365 <BR>POWA
012 342 2222 <BR>Gender Abuse Helpline 012 393 2363 <BR>Child Helpline
0800055555 <BR>Animal Anti Cruelty League 012 803 5219 <BR>Tourist
Assistance 012 327 2000 <BR>Alcoholics Anonymous 012 322 6047 <BR>SANCA
012 542 1121 <BR> </P> <P>DURBAN (031) top
<BR> <BR>Police 10111 <BR>Serious and Violent Crimes
10111 <BR>Ambulance 082 911 <BR>Medi-Clinic 031 300 3911 <BR>Fire
Brigade 10177 <BR>Lifeline 031 312 2323 <BR>General Hospital 031 332
2111 <BR>Poison Centre 0800333444 <BR>24 Hour Water and Sewage 0801313013
<BR>Electricity 0801313140 <BR>Child Abuse Unit 031 307 7000 <BR>POWA 031
204 4111 <BR>Child Helpline 0800055555 <BR>Tourist Assistance 031 304 7144
<BR>Animal Anti Cruelty League 031 237 1200 <BR>SANCA 031 202 2241
<BR>Alcoholics Anonymous 031 301 4959 <BR>Sea Rescue 031 372 011
<BR>Mountain Rescue 031 307 7744 <BR> </P> <P>BLOEMFONTEIN
(051) <BR> <BR>Police 10111 <BR>Serious and Violent
Crimes 10111 <BR>Ambulance 051 082 911 <BR>Medi-Clinic 051 433 1272
<BR>Fire Brigade 10177 <BR>Lifeline 051 357 2746 <BR>General
Hospital 051 522 3805 <BR>Poison Centre 051 444 3015 <BR>24 Hour Water and
Sewage 051 405 8168/77 <BR>Electricity 0860037566 <BR>Child Abuse Unit 051
447 9808 <BR>POWA 051 525 2395 <BR>Child Helpline 0800055555
<BR>Animal Anti Cruelty League 051 447 3801 <BR>SANCA 051 447 4111
<BR> </P> <P>LOST OR STOLEN CREDIT CARDS </P>
<P> <BR>American Express 0800 991 021 <BR>ABSA 0800 11 11 55
<BR>Diner's Club 0860 346 377 <BR>FNB 0800 110 132 <BR>Mastercard 1
636 722 7111 <BR>Nedbank 0800 110 929 <BR>Visa 0800 990 475
<BR>Standard Bank 086 120 1000 </P> <P>National Firearms Call Centre +27
12 353 6111<BR>Crime Stop 08600 10111</P> <P> </P>
<P><STRONG>Hospitals</STRONG></P> <P>Johannesburg General Hospital<BR>011
488 4911</P> <P>Helen Joseph Hospital<BR>011 489 1011</P> <P>Southrand
Hospital <BR>011 435 0022</P> <P>Chris Hani Baragwanath Hospital<BR>011
933 8000</P> <P>Coronation Hospital<BR>011 470 9000</P> <P>Edenvale
Hospital <BR>011 882 2400</P> <P>Sandton Hospital<BR>011 709 2000</P>
I need to get the emergency numbers in Android using Xpath and
HTMLCleaner. This is the first time Im using XPath.
Thanks in advance.
No comments:
Post a Comment