my html code

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
 
B

bruce barker \(sqlwork.com\)

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)
 
G

Guest

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top