I have a website that has links to documents that are dynamically populated based on the document type and all the data is located in one central xml file. I wanted have JQuery pass a parameter to the style sheet, the style sheet segregate out the the nodes using xpath based on the passed parameter, and then sort the notes based on an attribute. From all the documentation I found, JQuery doesn't natively support XSLT and none of the 3rd party plugins can return a new XML object once the original xml has been transformed. Am I missing something or is what I'm trying to do not possible? The xsl file has been tested outside of javascript and it works flawlessly.
Here is a sample of the code without the transform
$.ajax({
type: "GET",
url: "xml/charts.xml",
dataType: "xml",
success: function(xml) {
$(xml).find('chart').each(function(){
// Create link here
});
}
});