Visualizzazione dei risultati da 1 a 2 su 2
  1. #1

    Passaggio paramentri a XSL

    Ciao,
    per trasformare xml e xsl ho seguito questo codice

    codice:
    <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>
    per passare paramentri ad xsl tipo

    index.html?Cat=WebMaster

    è giusto la linea di codice nera che ho evidenziato ?

    Grazie,
    Andrea

  2. #2
    Non credo che nel forum HTML ti possano aiutare in molti. C'è un forum apposta per XML, XSL e Smil, sarebbe stato giusto scrivere li
    FEDERIX.IT - [Pillola] GRAFICA DEI FORM

    ...ho ancora quella forza che ti serve, quando dici "Si comincia!"

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.