my html code

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hey all,
i'd like to take my html code and modify it programmatically and i was
wondering if someone could show me the easiest way to do this.

i wasn't sure if going thru the code line-by-line in a text file would
suffice or would it be better to read/update as an xml file.

what i want to do is match the character max length property in the database
to the property on the textboxes. also any ideas to do this is welcomed too.

thanks,
rodchar
 
unless you wrote very clean xhtml, you won't be able to read the html as
xml, you'll get parsing errors. google for a regex expression to help parse
html. you could have a program instantiate each page and look at the
controls collection to get the values you want.

-- bruce (sqlwork.com)
 
great idea!! thanks for the help. rod.

bruce barker (sqlwork.com) said:
unless you wrote very clean xhtml, you won't be able to read the html as
xml, you'll get parsing errors. google for a regex expression to help parse
html. you could have a program instantiate each page and look at the
controls collection to get the values you want.

-- bruce (sqlwork.com)
 
Back
Top