Jamie,
> I was wondering if it's possible to register a scheme handler in perl?
This was answered by Pavel: not yet.
> I'm trying to get external entities working, and they don't seem to want to
> function. (probably something I'm doing)
External entities should be working in the next version. I'm not so sure
about parameter entities... if anyone has any experience with handling
them using expat (non-test version), I'm interested.
> Also, (and maybe this is a general XSLT question) is there some way to use
> a "user defined" function? In the older HTML world, I used to "evaluate" HTML
> so that functions like &HTMLIZE{&FORM{form-variable}}; would work. (htmlize
> and form were actually perl functions)
Yes, this is a general question; in XSLT, this could be done by
'extensions'.
Some namespaces can by designated as extension namespaces in the
stylesheet. 'Executing' an element or function from such a namespace
amounts to calling the corresponding function from an extension library.
Sablotron doesn't allow you to do this yet; one obstacle is how the
extension function would access the stylesheet and input trees.
Apparently, we'll have to implement a DOM interface for this purpose.
Tom