G
Guest
ASP.NET is a kind of "engine" that takes declarative markup and code and
renders these instructions into presentational forms. And every page is a
class.
With that in mind I'm wondering,
a) how to intercept the rendered output and do further programmatic things
with it;
and
b) how coarse or finely grained the control might be. One could envision the
ASP.NET designers giving you programmatic access to subselections of the
page HTML (e.g. <head> ... </head> <body> ... </body> ). Maybe even a page
hieararchy.
I'm interested in rendering content into various non-HTML forms (pdf, Flash
text, multipart mails) and I'd like the ASP.NET engine to do the hard work
of preprocessing some of this content; these ideas are especially
interesting with the availability of skins, themes, and master pages in
asp.net 2.0.
Barring programmatic access, I suppose I can yank what I want using regular
expressions, but I'm curious if there's a better way.
Thanks,
-KF
renders these instructions into presentational forms. And every page is a
class.
With that in mind I'm wondering,
a) how to intercept the rendered output and do further programmatic things
with it;
and
b) how coarse or finely grained the control might be. One could envision the
ASP.NET designers giving you programmatic access to subselections of the
page HTML (e.g. <head> ... </head> <body> ... </body> ). Maybe even a page
hieararchy.
I'm interested in rendering content into various non-HTML forms (pdf, Flash
text, multipart mails) and I'd like the ASP.NET engine to do the hard work
of preprocessing some of this content; these ideas are especially
interesting with the availability of skins, themes, and master pages in
asp.net 2.0.
Barring programmatic access, I suppose I can yank what I want using regular
expressions, but I'm curious if there's a better way.
Thanks,
-KF