Re: XML::LibXSLT callbacks - trying to "fake" the namespace prefix
by Randal L. Schwartz other posts by this author
Mar 3 2006 1:38PM messages near this date
view in the new Beta List Site
Re: XML::LibXSLT callbacks - trying to "fake" the namespace prefix
|
Getting encoding declaration with XML::SAX
& XSLT > >>>> "Randal" == Randal L Schwartz <merlyn@[...].com> writes:
A> Thatâ??s missing an
A> extension-element-prefixes="foo"
Randal> Not according to the examples, and it works without it.
And now that I've stared at the O'Reilly XSLT book a bit, I can see what this
is used for. Does XML::LibXSLT (and perhaps libxslt2) not provide the means
by which I can register *all* calls from a namespace to be mapped to a class?
Apparently, I must register each individual function instead.
Can I override XML::LibXSLT::perl_dispatcher somehow to do the delivery I
want, or will I not get called if I use "foo:unknown_function" in my
expression? I see $func can be either a coderef or a package name there, but
it's still being mapped on a full Qname basis, not on a prefix basis.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@[...].com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
A. Pagaltzis
Randal L. Schwartz
|