안드로이드 개발 질문/답변
(글 수 45,052)
<table id="tblSearchResult" cellSpacing="0" cellPadding="0" width="690" border="0" >
<tr id='trCID_2514231'><td width='65' align='center' class='num_white'><input type='checkbox' id='chkCID' name='chkCID' value='2514231' title="(진저브레드!) 안드로이드 2.3 프로그래밍 = Gingerbread! android 2.3 application development : 최신 안드로이드 플랫폼을 활용한 앱 개발">1</td><td width='475' class='td1_white'> <table width='100%'> <tr><td></td><td width='100%'><span class='result_title'>
List<Element> atags = source.getAllElements(HTMLElementName.A);
for문에서
href = e.getAttributeValue("href");
이런 식으로 하면 a태그에 href는 잘 읽어 오는데요...
위 html 코드를 보시면 INPUT에 title을 빼오고 싶거든요.
(진저브레드)어쩌고 저쩌고 하는 부분
그래서
List<Element> atags = source.getAllElements(HTMLElementName.INPUT);
for문에서
href = e.getAttributeValue("title");
했는데 이건 안 되네요-_-;;;;INPUT type만 되구요.....
어떻게 해야 되는 건가요ㅠ_ㅜ




정규식이 편하실텐데..