I build an ASP content management program for my site. About 50 users login and update news, events, stories and lots more. All my stories are in XHTML created by WYSIWYG editor. I store my XHTML in a database. My ASP pages read from database and then Response.Write the data. This is good.
But I want to change the data before I do Response.Write. Because XHTML is XML I think I can use DOM, XSLT and SAX. I have not done this from ASP, how do I do this. For example, I have a story in XHTML stored in the database that has five H2 tags. I want my ASP page to display the H2 tags at the top of the page like a table of contents in a story. How do I use ASP to do this?
Thank you so much,
E.
But I want to change the data before I do Response.Write. Because XHTML is XML I think I can use DOM, XSLT and SAX. I have not done this from ASP, how do I do this. For example, I have a story in XHTML stored in the database that has five H2 tags. I want my ASP page to display the H2 tags at the top of the page like a table of contents in a story. How do I use ASP to do this?
Thank you so much,
E.