RE: [Webunitproj-users] how to retreive inner text from WebTag?
Brought to you by:
dgan
From: <Eri...@al...> - 2002-11-06 15:12:48
|
BK wrote: >> Is there a way to get the inner text from a Webtag? Looking at thet code, I don't see it. =20 >>I noticed the WebOptionField class provides this Also, DefaultWebTextField and DefaultTableCell provide this. =20 >>however we would like to grab the inner text from any tag What should the code return for multiple items selected in list box? A comma or space delimited list? That doesn't sound right. What should the code return with multiple rows/columns in a table? What should the code return for nested data? -- what if the <div> has nested tags? Should the nested data also be returned? =20 What do you all think? How does HttpUnit expose this text? =20 =20 -----Original Message----- From: Brian Knorr [mailto:bt...@ne...] Sent: Tuesday, November 05, 2002 5:38 PM To: web...@li... Cc: dg...@sh... Subject: [Webunitproj-users] how to retreive inner text from WebTag? Is there a way to get the inner text from a Webtag? I noticed the WebOptionField class provides this, however we would like to grab the inner text from any tag... for example, if we have the following <div id=3D"orderNumber">1234567</div> we would like to be able to grab the inner text "1234567". Currently this is halting our progress... please advise.... thanks. =20 Brian |