Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install on node 0.10 #16

Open
jwulf opened this issue Mar 14, 2013 · 3 comments
Open

Cannot install on node 0.10 #16

jwulf opened this issue Mar 14, 2013 · 3 comments

Comments

@jwulf
Copy link

jwulf commented Mar 14, 2013

node-waf has been dropped in favor of node-gyp

@RobeeeJay
Copy link

I think it needs more than converting the waf build to gyp, I managed to create a simple bindings.gyp file but it still causes an error when launching a node app that uses it, even after building okay. :(

@RobeeeJay
Copy link

I created a new repo called libxsltjs (name inspired by libxmljs which I also use a lot) and begun implementing some of the xslt functions. It works the same way as node_xslt, but currently only supports the 3 functions I use:

readXmlString
readXsltString
transform

https://github.com/RobeeeJay/libxsltjs

If you use the four I've left out, let me know which ones and I'll look at adding them. Though really, I probably only need to actually add readHtmlString, since the rest could be worked around.

@jwulf
Copy link
Author

jwulf commented Apr 19, 2013

I'm using node_xslt.readXsltFile to load in the Docbook stylesheets. They are modular and use a lot of imports.

Reading the base xslt stylesheet into a string and then using libxsltjs.readXsltString, I get:

I/O warning : failed to load external entity "defaults.xsl"
compilation error: element include
xsl:include : unable to load defaults.xsl
I/O warning : failed to load external entity "xhtml-common.xsl"
compilation error: element include
xsl:include : unable to load xhtml-common.xsl

Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants