Re: [Htmlparser-user] Tag for OPTION
Brought to you by:
derrickoswald
From: Somik R. <so...@ya...> - 2002-08-09 08:48:22
|
Hi Dhaval, How can I parse this correctly? Will all the text after the <OPTION> tag considered to be a single node whether it is in the same line or different line. =20 Yes- it will be given to you in a HTMLStringNode. And of course = </OPTION> is parsed into a HTMLEndTag. Take a look at the title scanner = - you would probably need to do something similar, except the logic = might be a bit more involved. Regards Somik ----- Original Message -----=20 From: dha...@or...=20 To: htm...@li...=20 Sent: Friday, August 09, 2002 5:40 PM Subject: [Htmlparser-user] Tag for OPTION Hi, I am writing a tag-scanner pair for <OPTION> tag. I need some help. An option tag can be written as=20 <OPTION value=3D"Java">Java Language</OPTION> <OPTION value=3D"C">C Language</OPTION> OR <OPTION value=3D"Java">Java Language <OPTION value=3D"C">C Language How can I parse this correctly? Will all the text after the <OPTION> = tag considered to be a single node whether it is in the same line or different line. Thanx in advance. Regards, Dhaval |