I want to use xpathscript to develop some taglibs to hide some of the
messy xsp stuff I have been doing.
I see from scanning the web that is is possible to write taglibs in one of
three ways. The first way, which seems by far the most complicated route,
is to use TagLibHelper etc, and build a perl module and activate it using
AxAddXSPTaglib My::Module in httpd.conf. This seems a little complicated.
The second way is to write an xpathscript page and either add a processing
instruction to my xml page or a line of code to http.conf like:
AxAddProecssor application/x-xpathscript /path/to/taglib/stylesheet
The third way is almost identical to the second, but rather than using
xpathscript, you can just use xsl and create templates to transform the
tags.
I like the sound of the third route, but I am wondering whether taglibs
written in this way can use other taglibs. ie. I want to write a taglib
that uses some ESQL taglibs, some Param taglibs and sone BasicSession
taglibs too. So when my taglib stylesheet gets applied, will all the
other taglibs automatically get executed, or will I need to add in another
AxAddProecssor application/x-xsp. processing instruction?
Now I also have another problem, in that trying to do any kind of
xpathscript results in an error in my logs that looks like:
child pid 89672 exit signal Segmentation fault (11)
Any ideas about this one? I read somewhere something about expat...??
thanks
--
Tom David Kirkpatrick
Virus Bulletin Web Developer, Virus Bulletin
Tel: +44 1235 555139
Web: www.virusbtn.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]