Hi

I am trying to use xpath and xml parsing through java. I am completely new to this. I have an xml below and I need to extract the text which says ....."cn=GSTDealer,ou=affiliations,dc=tis,dc=,dc=com,ou=portals,ou=spec,o=teds"
and also the text which starts with " Group object missing user "

This is the xml ....
- <HTML>
- <BODY>
- <CENTER>
- <TABLE border="1">
- <TBODY>
+ <TR>
<TD>Date</TD>
<TD>Wed Jul 11 02:00:09 PDT 2007</TD>
</TR>
+ <TR>
<TD>LDAP</TD>
<TD>abc.com</TD>
</TR>
+ <TR>
<TD>LDAP</TD>
<TD>389</TD>
</TR>
+ <TR>
<TD>User</TD>
<TD>dfs</TD>
</TR>
</TBODY>
</TABLE>
</CENTER>
<BR />
- <CENTER>
- <TABLE border="1">
<CAPTION>Check Groups</CAPTION>
- <TBODY>
+ <TR>
<TH>Count</TH>
<TH>Group DN</TH>
<TH>Group Cnt</TH>
<TH>User Cnt</TH>
<TH>Status</TH>
<TH>Duplicate Errors</TH>
</TR>
- <TR>
<TD>1</TD>
<TD>cn=GSTDealer,ou=adsfss,dc=tis,dc=sdf,dc=com,ou=portals,ou=spdfc,o=teds</TD>
<TD>11271</TD>
<TD>11255</TD>
- <TD bgColor="#ff0000">
- <TABLE border="1">
- <TBODY>
- <TR>
<TD>Group object missing user ( cn=mf13,ou=people,ou=6d4204,ou=1,ou=34,ou=areas,ou=salesdsalers,ou=extranet,o=teds)</TD>
</TR>
</TBODY>
</TABLE>
</TD>
- <TD bgColor="#ffff00">
- <TABLE border="1">
- <TBODY>
- <TR>
<TD>Group object duplicate member (cn=reyesr13,ou=people,ou=42280,ou=b,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=schwars5,ou=people,ou=42138,ou=a,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=loftonj,ou=people,ou=03066,ou=l,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=juradoj,ou=people,ou=42073,ou=a,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=talberd,ou=people,ou=42286,ou=d,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=ramirel6,ou=people,ou=42138,ou=a,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=gonzalj38,ou=people,ou=42293,ou=i,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=bashamm3,ou=people,ou=42249,ou=c,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=blankep,ou=people,ou=35049,ou=j,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=wilkinm,ou=people,ou=03070,ou=l,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=garciar21,ou=people,ou=42025,ou=i,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=maupinj,ou=people,ou=42057,ou=c,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=martinc10,ou=people,ou=17055,ou=g,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=budzr,ou=people,ou=42202,ou=c,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=shephew1,ou=people,ou=42196,ou=a,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
- <TR>
<TD>2</TD>
<TD>cn=SETDealer,ou=affiliations,dc=tis,dc=,dc=com,ou=portals,ou=spec,o=teds</TD>
<TD>18083</TD>
<TD>18081</TD>
- <TD bgColor="#ff0000">
- <TABLE border="1">
- <TBODY>
- <TR>
<TD>Group object missing user ( cn=kintup,ou=people,ou=24026,ou=1,ou=23,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
</TBODY>
</TABLE>
</TD>
- <TD bgColor="#ffff00">
- <TABLE border="1">
- <TBODY>
- <TR>
<TD>Group object duplicate member (cn=jacksot15,ou=people,ou=32064,ou=j,ou=50,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
- <TR>
<TD>3</TD>
<TD>cn=TMSDealer,ou=affiliations,dc=tis,dc=,dc=com,ou=portals,ou=spec,o=teds</TD>
<TD>95075</TD>
<TD>95052</TD>
<TD>OK</TD>
- <TD bgColor="#ffff00">
- <TABLE border="1">
- <TBODY>
- <TR>
<TD>Group object duplicate member (cn=croweb,ou=people,ou=19067,ou=2,ou=80,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=guilloc,ou=people,ou=04364,ou=3,ou=12,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=knittej,ou=people,ou=48012,ou=7,ou=21,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=robertt6,ou=people,ou=34111,ou=8,ou=22,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=mannai,ou=people,ou=04154,ou=3,ou=11,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=salcidj,ou=people,ou=04154,ou=3,ou=11,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=meachea,ou=people,ou=31119,ou=6,ou=16,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=caldwem,ou=people,ou=04150,ou=8,ou=11,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=hernanc,ou=people,ou=04247,ou=6,ou=11,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=slusher,ou=people,ou=13072,ou=4,ou=21,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=baumerl,ou=people,ou=13072,ou=4,ou=21,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=blizzal,ou=people,ou=45082,ou=8,ou=80,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=donneld2,ou=people,ou=04088,ou=4,ou=12,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=altmanm,ou=people,ou=34107,ou=3,ou=22,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=nguyent18,ou=people,ou=04536,ou=9,ou=11,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=balcerj,ou=people,ou=12135,ou=1,ou=21,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=garciah6,ou=people,ou=45069,ou=4,ou=80,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=hamoudb,ou=people,ou=04250,ou=2,ou=11,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=khouchn,ou=people,ou=12142,ou=1,ou=21,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=bartlet,ou=people,ou=64101,ou=5,ou=34,ou=areas,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=robbinm,ou=people,ou=37126,ou=8,ou=80,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=pocinoc,ou=people,ou=04543,ou=6,ou=11,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=cerasoc,ou=people,ou=37177,ou=6,ou=80,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
- <TR>
<TD>4</TD>
<TD>cn=Administrators,ou=roles,dc=tis,dc=,dc=com,ou=portals,ou=spec,o=teds</TD>
<TD>9</TD>
<TD>9</TD>
<TD>OK</TD>
<TD>OK</TD>
</TR>
- <TR>
<TD>5</TD>
<TD>cn=GetCalibrations,ou=roles,dc=tis,dc=,dc=com,ou=portals,ou=spec,o=teds</TD>
<TD>17994</TD>
<TD>17993</TD>
- <TD bgColor="#ff0000">
- <TABLE border="1">
- <TBODY>
- <TR>
<TD>Group object missing user ( cn=resendm,ou=people,ou=27022,ou=3,ou=15,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
</TBODY>
</TABLE>
</TD>
<TD>OK</TD>
</TR>
- <TR>
<TD>6</TD>
<TD>cn=GetCampaigns,ou=roles,dc=tis,dc=,dc=com,ou=portals,ou=spec,o=teds</TD>
<TD>18027</TD>
<TD>18026</TD>
- <TD bgColor="#ff0000">
- <TABLE border="1">
- <TBODY>
- <TR>
<TD>Group object missing user ( cn=resendm,ou=people,ou=27022,ou=3,ou=15,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
</TBODY>
</TABLE>
</TD>
<TD>OK</TD>
</TR>
- <TR>
<TD>7</TD>
<TD>cn=GetVehicleHistory,ou=roles,dc=tis,dc=,dc=com,ou=portals,ou=spec,o=teds</TD>
<TD>18033</TD>
<TD>18032</TD>
- <TD bgColor="#ff0000">
- <TABLE border="1">
- <TBODY>
- <TR>
<TD>Group object missing user ( cn=resendm,ou=people,ou=27022,ou=3,ou=15,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
</TBODY>
</TABLE>
</TD>
<TD>OK</TD>
</TR>
- <TR>
<TD>8</TD>
<TD>cn=KeyCodeReset,ou=roles,dc=tis,dc=,dc=com,ou=portals,ou=spec,o=teds</TD>
<TD>7059</TD>
<TD>7059</TD>
<TD>OK</TD>
<TD>OK</TD>
</TR>
- <TR>
<TD>9</TD>
<TD>cn=PortalSystemAdministrators,ou=roles,dc=tis,dc=,dc=com,ou=portals,ou=spec,o=teds</TD>
<TD>6</TD>
<TD>6</TD>
<TD>OK</TD>
<TD>OK</TD>
</TR>
- <TR>
<TD>10</TD>
<TD>cn=SubmitTACase,ou=roles,dc=tis,dc=,dc=com,ou=portals,ou=spec,o=teds</TD>
<TD>17831</TD>
<TD>17830</TD>
- <TD bgColor="#ff0000">
- <TABLE border="1">
- <TBODY>
- <TR>
<TD>Group object missing user ( cn=resendm,ou=people,ou=27022,ou=3,ou=15,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
</TBODY>
</TABLE>
</TD>
<TD>OK</TD>
</TR>
- <TR>
<TD>11</TD>
<TD>cn=SubmitDPR,ou=roles,dc=tis,dc=,dc=com,ou=portals,ou=spec,o=teds</TD>
<TD>4460</TD>
<TD>4460</TD>
<TD>OK</TD>
<TD>OK</TD>
</TR>
- <TR>
<TD>12</TD>
<TD>cn=ScanTool,ou=roles,dc=tis,dc=,dc=com,ou=portals,ou=spec,o=teds</TD>
<TD>17995</TD>
<TD>17992</TD>
- <TD bgColor="#ff0000">
- <TABLE border="1">
- <TBODY>
- <TR>
<TD>Group object missing user ( cn=resendm,ou=people,ou=27022,ou=3,ou=15,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
</TBODY>
</TABLE>
</TD>
- <TD bgColor="#ffff00">
- <TABLE border="1">
- <TBODY>
- <TR>
<TD>Group object duplicate member (cn=mccurdd,ou=people,ou=05067,ou=2,ou=15,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=martinc10,ou=people,ou=17055,ou=g,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
- <TR>
<TD>13</TD>
<TD>cn=SystemAdmin,ou=roles,dc=tis,dc=,dc=com,ou=portals,ou=spec,o=teds</TD>
<TD>6</TD>
<TD>6</TD>
<TD>OK</TD>
<TD>OK</TD>
</TR>
- <TR>
<TD>14</TD>
<TD>cn=OtherTool,ou=roles,dc=tis,dc=,dc=com,ou=portals,ou=spec,o=teds</TD>
<TD>18006</TD>
<TD>18003</TD>
- <TD bgColor="#ff0000">
- <TABLE border="1">
- <TBODY>
- <TR>
<TD>Group object missing user ( cn=resendm,ou=people,ou=27022,ou=3,ou=15,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
</TBODY>
</TABLE>
</TD>
- <TD bgColor="#ffff00">
- <TABLE border="1">
- <TBODY>
- <TR>
<TD>Group object duplicate member (cn=mccurdd,ou=people,ou=05067,ou=2,ou=15,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=martinc10,ou=people,ou=17055,ou=g,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
- <TR>
<TD>15</TD>
<TD>cn=GetVehicleInfo,ou=roles,dc=tis,dc=,dc=com,ou=portals,ou=spec,o=teds</TD>
<TD>18030</TD>
<TD>18028</TD>
- <TD bgColor="#ff0000">
- <TABLE border="1">
- <TBODY>
- <TR>
<TD>Group object missing user ( cn=resendm,ou=people,ou=27022,ou=3,ou=15,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
</TBODY>
</TABLE>
</TD>
- <TD bgColor="#ffff00">
- <TABLE border="1">
- <TBODY>
- <TR>
<TD>Group object duplicate member (cn=mccurdd,ou=people,ou=05067,ou=2,ou=15,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
- <TR>
<TD>16</TD>
<TD>cn=Inbox,ou=roles,dc=tis,dc=,dc=com,ou=portals,ou=spec,o=teds</TD>
<TD>125654</TD>
<TD>125577</TD>
<TD>OK</TD>
- <TD bgColor="#ffff00">
- <TABLE border="1">
- <TBODY>
- <TR>
<TD>Group object duplicate member (cn=william51,ou=people,ou=20114,ou=1,ou=17,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=patafia,ou=people,ou=63201,ou=5,ou=34,ou=areas,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=kellerb,ou=people,ou=10017,ou=f,ou=50,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=lewisj8,ou=people,ou=41021,ou=8,ou=22,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=zakriys,ou=people,ou=04362,ou=2,ou=12,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=sturgik,ou=people,ou=19027,ou=2,ou=80,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=reyesm4,ou=people,ou=29096,ou=9,ou=16,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=demercd,ou=people,ou=29008,ou=9,ou=16,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=majorsr1,ou=people,ou=63230,ou=5,ou=34,ou=areas,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=changs1,ou=people,ou=54007,ou=temp,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=pisanik,ou=people,ou=34025,ou=4,ou=22,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=gonzalj38,ou=people,ou=42293,ou=i,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=blakelj1,ou=people,ou=63230,ou=5,ou=34,ou=areas,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=kentj3,ou=people,ou=02046,ou=1,ou=15,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=weaverj6,ou=people,ou=14044,ou=7,ou=23,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=gilchrt,ou=people,ou=63230,ou=5,ou=34,ou=areas,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=martind39,ou=people,ou=16059,ou=7,ou=22,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=bashamm3,ou=people,ou=42249,ou=c,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=savast,ou=people,ou=02016,ou=1,ou=15,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=heathe,ou=people,ou=13024,ou=4,ou=21,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=mollas,ou=people,ou=45027,ou=4,ou=80,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=aspenwr,ou=people,ou=09076,ou=a,ou=50,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=razaa,ou=people,ou=45027,ou=4,ou=80,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=croweb,ou=people,ou=19067,ou=2,ou=80,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=mccurdd,ou=people,ou=05067,ou=2,ou=15,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=sutfinj,ou=people,ou=60421,ou=3,ou=31,ou=areas,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=nguyent71,ou=people,ou=32107,ou=l,ou=50,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=cheunga,ou=people,ou=09183,ou=c,ou=50,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=listerc,ou=people,ou=09215,ou=c,ou=50,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=celajh,ou=people,ou=31176,ou=9,ou=16,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=bruderd,ou=people,ou=31089,ou=2,ou=16,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=guilloc,ou=people,ou=04364,ou=3,ou=12,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=knittej,ou=people,ou=48012,ou=7,ou=21,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=robertt6,ou=people,ou=34111,ou=8,ou=22,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=bunchj2,ou=people,ou=24036,ou=2,ou=23,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=chavesj,ou=people,ou=20114,ou=1,ou=17,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=mannai,ou=people,ou=04154,ou=3,ou=11,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=salcidj,ou=people,ou=04154,ou=3,ou=11,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=zeninr,ou=people,ou=31156,ou=1,ou=16,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=blankep,ou=people,ou=35049,ou=j,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=wilkinm,ou=people,ou=03070,ou=l,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=garciar21,ou=people,ou=42025,ou=i,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=caldwem,ou=people,ou=04150,ou=8,ou=11,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=maupinj,ou=people,ou=42057,ou=c,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=bacchua,ou=people,ou=06047,ou=8,ou=16,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=jonesr39,ou=people,ou=02051,ou=1,ou=15,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=scottd11,ou=people,ou=42722,ou=temp,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=dixonm,ou=people,ou=01082,ou=f,ou=50,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=gabrias,ou=people,ou=09168,ou=b,ou=50,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=blizzal,ou=people,ou=45082,ou=8,ou=80,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=drakes3,ou=people,ou=64201,ou=2,ou=34,ou=areas,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=makhlom,ou=people,ou=12134,ou=2,ou=21,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=altmanm,ou=people,ou=34107,ou=3,ou=22,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=nguyent18,ou=people,ou=04536,ou=9,ou=11,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=jassoj,ou=people,ou=32076,ou=l,ou=50,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=martinc10,ou=people,ou=17055,ou=g,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=aguilaa1,ou=people,ou=04018,ou=5,ou=11,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=balcerj,ou=people,ou=12135,ou=1,ou=21,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=garciah6,ou=people,ou=45069,ou=4,ou=80,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=kiml,ou=people,ou=04102,ou=4,ou=11,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=josephs2,ou=people,ou=42138,ou=a,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=tranq3,ou=people,ou=10114,ou=h,ou=50,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=hamoudb,ou=people,ou=04250,ou=2,ou=11,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=khouchn,ou=people,ou=12142,ou=1,ou=21,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=romeroj4,ou=people,ou=60424,ou=3,ou=31,ou=areas,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=bakhshp,ou=people,ou=04278,ou=9,ou=11,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=vasqueo,ou=people,ou=04272,ou=5,ou=12,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=thomasr33,ou=people,ou=37174,ou=6,ou=80,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=bartlet,ou=people,ou=64101,ou=5,ou=34,ou=areas,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=jacksot15,ou=people,ou=32064,ou=j,ou=50,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=robbinm,ou=people,ou=37126,ou=8,ou=80,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=shephew1,ou=people,ou=42196,ou=a,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=vickerh,ou=people,ou=31119,ou=6,ou=16,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=bialosk,ou=people,ou=48039,ou=7,ou=21,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=resendm,ou=people,ou=27022,ou=3,ou=15,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=pocinoc,ou=people,ou=04543,ou=6,ou=11,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=cerasoc,ou=people,ou=37177,ou=6,ou=80,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
- <TR>
<TD>17</TD>
<TD>cn=DelegatedAdmin,ou=roles,dc=tis,dc=,dc=com,ou=portals,ou=spec,o=teds</TD>
<TD>12</TD>
<TD>12</TD>
<TD>OK</TD>
<TD>OK</TD>
</TR>
- <TR>
<TD>18</TD>
<TD>cn=enrolled,ou=status,dc=tis,dc=,dc=com,ou=portals,ou=spec,o=teds</TD>
<TD>125594</TD>
<TD>125587</TD>
<TD>OK</TD>
- <TD bgColor="#ffff00">
- <TABLE border="1">
- <TBODY>
- <TR>
<TD>Group object duplicate member (cn=jacksot15,ou=people,ou=32064,ou=j,ou=50,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=robbinm,ou=people,ou=37126,ou=8,ou=80,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=shephew1,ou=people,ou=42196,ou=a,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=vickerh,ou=people,ou=31119,ou=6,ou=16,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=bialosk,ou=people,ou=48039,ou=7,ou=21,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=resendm,ou=people,ou=27022,ou=3,ou=15,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
- <TR>
<TD>Group object duplicate member (cn=pocinoc,ou=people,ou=04543,ou=6,ou=11,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
- <TR>
<TD>19</TD>
<TD>cn=disabled,ou=status,dc=tis,dc=,dc=com,ou=portals,ou=spec,o=teds</TD>
<TD>1</TD>
<TD>1</TD>
<TD>OK</TD>
<TD>OK</TD>
</TR>
- <TR>
<TD>20</TD>
<TD>cn=rejected,ou=status,dc=tis,dc=,dc=com,ou=portals,ou=spec,o=teds</TD>
<TD>1</TD>
<TD>1</TD>
<TD>OK</TD>
<TD>OK</TD>
</TR>
- <TR>
<TD>21</TD>
<TD>cn=expired,ou=status,dc=tis,dc=,dc=com,ou=portals,ou=spec,o=teds</TD>
<TD>2</TD>
<TD>2</TD>
<TD>OK</TD>
<TD>OK</TD>
</TR>
- <TR>
<TD>22</TD>
<TD>cn=pending,ou=status,dc=tis,dc=,dc=com,ou=portals,ou=spec,o=teds</TD>
<TD>1</TD>
<TD>1</TD>
<TD>OK</TD>
<TD>OK</TD>
</TR>
</TBODY>
</TABLE>
</CENTER>
<BR />
Total Time: 88 minutes
</BODY>
</HTML>

Very urgent please......
It will be great if anyone could send the code.
Thank you very much.

I didn't know Java's XML parsers could parse HTML.

I'm not sure though that you can use <br/> tags and such with xml though. I'd always thought you'd have to use document.write("<br/>"); with imbedded javascript...

I've worked with Java and XMLs before, but never like that.

Thanks for the insight :)

This HTML is not really a good candidate for processing with an XPath. Typically the information you are working with in XML is meaningfully marked up in a relational manner with data being found in specific elements or attributes. Here your data is just in a generic TD tag. TD does not describe or annotate the data at all - it's just an HTML tag that could contain anything.

Basically what you are looking at is probably just plain old regex text parsing. Take a look at java regex and see if that works for you.

and it's certainly not urgent. There's no urgency at all for any of us to help you.

There are many ways, but I suggest you to use Java API to do this, read their documentation about XML parsing :)

I agree with Ezzaral. HTML should no way be a candidate for Java XML parsing, and regEx should be used to achieve what you want.

Guess you can get the HTML content in a String or StringBuffer, which you can pass to the code below, to serve your purpose.

/**
 * 
 * @author kapil saxena
 *
 */
    public static String fetchDesiredContent(String contentHTML)
    {
        StringBuffer strBuff = new StringBuffer(contentHTML);
        Pattern regExp = Pattern.compile("Group object missing user[A-Za-z ,0-9=\\(\\)]*");
        StringBuffer desiredStr = new StringBuffer();
        while(true)
        {
            Matcher m = regExp.matcher(strBuff);
            if (!m.find())
                break;
            int thestart = m.start();
            int theend = m.end();
            desiredStr.append(m.group() + "\n");
            strBuff.replace(thestart, theend, "");

        }
        return desiredStr.toString();
    }

Incase you can't extract the content as string, but have it saved in an HTML file, let me know, I will write up piece of code to fetch Content out of it.

Try looking into the HTMLDocument and HTMLEditorKit.Parser Classes.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.