Forums » Saxon-CE help »
SaxonCE not loading
Added by Max Chemtov over 7 years ago
When I try to run a simple test code, it seems that the function onSaxonLoad never executes. I'm not sure what I'm doing wrong, any help would be appreciated. I am trying to open test.xml in a browser through python's SimpleHTTPServer.
I've attached the relevant files. All three files are in a directory which also contains the Saxonce directory.
test.xml (189 Bytes) test.xml | |||
sample.boot.xsl (898 Bytes) sample.boot.xsl | |||
test.xsl (218 Bytes) test.xsl |
Replies (4)
Please register to reply
RE: SaxonCE not loading - Added by Michael Kay over 7 years ago
I'm afraid we're not really able to offer much in the way of Saxon-CE support any more, as all our efforts are going into the replacement product Saxon-JS.
I can see that you've taken sample.boot.xsl straight from the documentation, but I can't see how it is supposed to work. All the script does is bind a variable onSaxonLoad to a function, it doesn't actually invoke that function. I would have expected to see, for example
@
@RE: SaxonCE not loading - Added by Max Chemtov over 7 years ago
Thanks for the quick response. I am completely new to this, and so just blindly copied what was in the documentation and figured that onSaxonLoad was some kind of event. But it makes sense that it would still need to be called somewhere.
I've added the call, but Saxon.run() still doesn't seem to be doing anything...
RE: SaxonCE not loading - Added by Michael Kay over 7 years ago
If this is something new you're developing (or even if it isn't) I'd suggest strongly moving to Saxon-JS as a much more modern product that offers all the same capability, plus we're much better placed to support it!
RE: SaxonCE not loading - Added by Max Chemtov over 7 years ago
Unfortunately, I can't do the $600 for SaxonEE, and the stylesheet would have to be re-compiled regularly. But thanks.
Please register to reply