hi
i'm using the jQuery XSLT plugin to insert some xml code in a xhtml
page.

how can i use the same function to inject xml data in two different
xhtml blocks?

What i do now is:

 $(document).ready(function(){
        $('#leftMenu').xslt({xmlUrl: '../Dati/menuProdotti_jquery.xml',
xslUrl: 'index_xml.xsl'});
        $('#topNav').xslt({xmlUrl: '../Dati/menuTop_jquery.xml', xslUrl:
'index_xml.xsl'});
});

but i'd like to call "index_xml.xsl" only once and use the same xml
file (as you can see i use two of them) for both.

thanks vitto

Reply via email to