modify form element with htmlagilitypack

Topics: Developer Forum, User Forum
Aug 5, 2011 at 11:19 PM

am processing html forms with htmlagilitypack, but encounter some problems. take for example

<form action="" method="post">

<input name="email" type="text" />

<input name="fruit" type="hidden" value="5" />

<img src="/image.php">

</form>



first i need to replace the action value with the forms web url,
then second, prepend the image source with the base path url of the form

how can i achieve this?