JavaScript XML/XSLT library


JSXML on GitHub


Successfully tested with IE 6+, Firefox 2+, Opera 9.25+, Safari 3.1+, Chrome 0.2.149+.


If you're going to use JSXML with strings/DOM only (i.e. not with remote XML/XSL files), then JSXML is self-sufficient.

If you're going to use remote XML/XSL files, the only thing JSXML requires is ajax transport which is implemented in all widely-used JavaScript libraries. That's why JSXML doesn't repeat ajax functionality and can intelligently recognize and use for that purpose any of the following libraries:

Support for any other libraries may be added — please suggest.

Installation & Configuration

You can include JSXML script in any place of your page — it doesn't necessarily need to include one of the required libraries before.

By default, JSXML is available as jsxml object in the current window context.

However, if you like, you can set your own host context (and even JSXML object name) by passing an object to the envelope function:

// JSXML code

Available options are:



JSXML is currently available under the New BSD license.


Any comments, bug reports, suggestions — please welcome.