Project

Profile

Help

saxon: extension funcs ?

Added by Jim Fuller almost 12 years ago

Hello,

are any of saxon own extension funcs available ?

For example saxon:parse() ?

tia, J


Replies (1)

RE: saxon: extension funcs ? - Added by Michael Kay almost 12 years ago

At the Javascript level there are parse() and serialize() methods on the Saxon object

http://www.saxonica.com/ce/user-doc/1.1/index.html#!api/saxon

and you can invoke these using ixsl:call

http://www.saxonica.com/ce/user-doc/1.1/index.html#!coding/extensions

Generally our focus has been to allow good interworking with the Javascript environment rather than providing language extensions. There are a few things that are obviously needed, like evaluate and try/catch; one thing we need to do is work out how to provide these as "overlays", by which I mean fetching the code from the server only if it's actually used. We need to make the main code download smaller before we make it larger.

    (1-1/1)

    Please register to reply