Ciao,
per trasformare xml e xsl ho seguito questo codice
per passare paramentri ad xsl tipocodice:<html> <body> <script type="text/javascript">// Load XML var xml = new ActiveXObject("Microsoft.XMLDOM") xml.async = false xml.load("categorie.xml")// Load XSL var xsl = new ActiveXObject("Microsoft.XMLDOM") xsl.async = false xsl.load("php.xsl")// Transform function Cat(Cat){ s.addParameter("pagenumber", Cat); } document.write(xml.transformNode(xsl))</script> </body> </html>
index.html?Cat=WebMaster
è giusto la linea di codice nera che ho evidenziato ?
Grazie,
Andrea

Rispondi quotando
