How should I be formating my data (HTML? XML?) for pages built w/ASP? I'm using a query on a database to pull data, then writing 90% of the page. About the only thing I don't use a response.write for is informatino in the head tag.
I'm currently using HTML, and it works for me. It's a bit cumbersome though since it's generating a form. I intially functioned out the input tags so that it'd write a label to go with the tag, but anytime I decide to add another property, I have to rewrite the asp to work with this. This is why I was wondering if xml would make it easier? Then it only comes down to me telling it write this data to this tag. Then, for this tag translate it to this HTML.
Or maybe there's a better method I don't know or haven't thought about.
I'm currently using HTML, and it works for me. It's a bit cumbersome though since it's generating a form. I intially functioned out the input tags so that it'd write a label to go with the tag, but anytime I decide to add another property, I have to rewrite the asp to work with this. This is why I was wondering if xml would make it easier? Then it only comes down to me telling it write this data to this tag. Then, for this tag translate it to this HTML.
Or maybe there's a better method I don't know or haven't thought about.