Jump to content

xsltProcessor to set a variable


john6384

Recommended Posts

I need to use xsltProcessor to set a variable to something.

 

What xsltProcessor function would I use  -  the below does not work?

 


var item = document.getElementById("descriptionInput");


xmlDoc = myXMLHTTPRequest.responseXML;
	var search = xsltProcessor.transformToFragment(xmlDoc, document);

	myDOM = search;

	document.getElementById("XMLDiv").innerHTML = search;

 

I want to make search an xsltprocessor variable with value of item.

 

Thank you

John

Link to comment
https://forums.phpfreaks.com/topic/75410-xsltprocessor-to-set-a-variable/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.