Closed JonathanRowell closed 1 year ago
Sorry I got the code insert wrong!
Ah, missed this, I just implemented this in #36.
But in general this package doesn't handle namespaces.
Hey there, is there any chance this feature is going to be released soon?
Hi @josiahwitheford. This was released on https://github.com/DesignLiquido/xslt-processor/releases/tag/v1.0.0. Please let me know if any adjustments are required.
For now I'm closing this, but should return in the future if any problems arise from this implementation.
One could do with local-name(), useful when dynamically creating elements and it should be simple to implement as it follows on from 'name'. `` 'local-name' (ctx) { assert(this.args.length == 1 || this.args.length == 0); let n; if (this.args.length == 0) { n = [ctx.node]; } else { n = this.args[0].evaluate(ctx).nodeSetValue(); }
`