I'm asking this here because, since I've been out of touch with AxKit's
internals for far too many months, I don't have enough data to answer my own
question.
Basically, I would like to embed XSP code inline in XHTML files. So, I for
instance would only like regions of a file to be processed by XSP, and have
it's SAX events injected into the XHTML event stream. For instance:
<html>
<body>
<p>boo</p>
<xsp:inline xmlns:xsp="blah://blahblah">
<xsp:logic>print 2 + 5</xsp:logic>
</xsp>
</body>
</html>
The main reason is that I don't want all XHTML files to be processed through
the XSP engine (which, last time I checked, was significantly slower than
plain-file-output).
The above also could translate to taglibs. For instance:
<html>
...
<p><session:get-attribute name="username" xmlns:session="foo://bar"/></p>
...
</html>
The key benefits I could see are: (a) The entire page is not cached in memory
as a perl handler, (b) in my example, very little of the page would be
dynamic code, (c) (far-fetched) identical snippets of code from different
pages could just be cached as one handler in memory.
I'm refactoring my content management system, and I'd really rather not have
the overhead of XSP in every single page if I want just one or two pages in
an entire site to have a dynamic snippet.
--
/* Michael A. Nachbaur <[EMAIL PROTECTED]>
* http://nachbaur.com/pgpkey.asc
*/
"Another world, another day, another dawn. "
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]