Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Didattica in generale > Archivio > Archivio > Informatica applicata alla comunicazione scritta > Spiegazione definitiva del progetto con commento al testo.
Pages (5): « 1 [2] 3 4 5 »   Last Thread   Next Thread
Author
Thread    Post New Thread    Post A Reply
Nostrills
.cow.

User info:
Registered: Jan 2008
Posts: 40 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 10 Days, 16:17:09: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Scusate una cosa....ma la DATA dell'esame qual'è?
Il 26? o va fissata via mail con il prof quando si è finito il progetto?
se qualcuno sa/ha capito qualcosa sarebbe molto utile...grazie

22-06-2008 12:05
Click Here to See the Profile for Nostrills Click here to Send Nostrills a Private Message Find more posts by Nostrills Add Nostrills to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
jonny86
.illuminato.

User info:
Registered: Jun 2007
Posts: 197 (0.03 al dì)
Location: Prov. Como
Corso: Comunicazione Digitale
Anno: terzo
Time Online: 2 Days, 10:54:10 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Il 26 c'è la discussione in aula 309 alle 9.00. Chi si è iscritto al SIFA all'appello del 16 e ha finito il progetto può andare direttamente lì.

Da quanto mi ha detto, visto che è già stata fissata una data non serve fissarne una tramite mail.

22-06-2008 12:08
Click Here to See the Profile for jonny86 Click here to Send jonny86 a Private Message Find more posts by jonny86 Add jonny86 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Nostrills
.cow.

User info:
Registered: Jan 2008
Posts: 40 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 10 Days, 16:17:09: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

quindi se io per il 26 finisco il progetto (anche se nessuno ha capito esattamente cosa fare), vado direttamente a discuterlo il 26 senza che il prof prima lo guardi?
boh questo corso mi lascia sempre più perplesso

22-06-2008 12:36
Click Here to See the Profile for Nostrills Click here to Send Nostrills a Private Message Find more posts by Nostrills Add Nostrills to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Nostrills
.cow.

User info:
Registered: Jan 2008
Posts: 40 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 10 Days, 16:17:09: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

scusate qualcuno mi sa aiutare...
come faccio a mettere la risposta della chiamata ajax in XML con relativo XSLT in un div??
perche facendo document.getElementById("div_id").innerHTML = request.responseXML mi mette solo [object] mentre se metto il responseText mi mette il contentuto dell'xml ma senza la formattazione del mio xslt....
qualcuno sa come si può fare? grazie..

23-06-2008 19:01
Click Here to See the Profile for Nostrills Click here to Send Nostrills a Private Message Find more posts by Nostrills Add Nostrills to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Kjir
.fedelissimo.

User info:
Registered: Apr 2004
Posts: 44 (0.01 al dì)
Location: Milano
Corso: Comunicazione digitale
Anno: Terzo
Time Online: 6:27:52 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Tanto se gli scrivi una mail non ti risponde...
Da quel che ho capito ci si può presentare anche il 26 e iscriversi all'appello successivo per verbalizzare. Di sicuro il modo migliore per vedere cosa vuole da noi è provare a fare l'esame una volta e al massimo tornare una seconda volta...

23-06-2008 22:12
Click Here to See the Profile for Kjir Click here to Send Kjir a Private Message Visit Kjir's homepage! Find more posts by Kjir Add Kjir to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
emanuele0208
.amico.

User info:
Registered: Sep 2007
Posts: 39 (0.01 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno: 1
Time Online: 17:46:16 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by Nostrills
scusate qualcuno mi sa aiutare...
come faccio a mettere la risposta della chiamata ajax in XML con relativo XSLT in un div??
perche facendo document.getElementById("div_id").innerHTML = request.responseXML mi mette solo [object] mentre se metto il responseText mi mette il contentuto dell'xml ma senza la formattazione del mio xslt....
qualcuno sa come si può fare? grazie..


Ciao Nostrills, ho lo stesso identico problema...con responseText mi mette il contenuto dell'xml senza la dovuta formattazione da parte dell'xslt....tu hai risolto?

23-06-2008 23:21
Click Here to See the Profile for emanuele0208 Click here to Send emanuele0208 a Private Message Find more posts by emanuele0208 Add emanuele0208 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Nostrills
.cow.

User info:
Registered: Jan 2008
Posts: 40 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 10 Days, 16:17:09: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

bisogna usare un oggetto XSLTProcessor ma non ho ancora ben capito come funziona..

24-06-2008 08:23
Click Here to See the Profile for Nostrills Click here to Send Nostrills a Private Message Find more posts by Nostrills Add Nostrills to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Nostrills
.cow.

User info:
Registered: Jan 2008
Posts: 40 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 10 Days, 16:17:09: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Qualcuno è riuscito a fare uno script che funziona con tutti i browser???

24-06-2008 10:13
Click Here to See the Profile for Nostrills Click here to Send Nostrills a Private Message Find more posts by Nostrills Add Nostrills to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Urborg_team
.primate.

User info:
Registered: Sep 2004
Posts: 74 (0.01 al dì)
Location: Torre de busi
Corso: Comunicazione digitale
Anno: 3
Time Online: 14:15:17 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

a me safari si pianta quando facci load ("myfile.xml")...

EDIT: per quanto riguarda il vostro problema dovreste poterlo risolvere inserendo la dichiarazione del file xslt nella pagina principale dove c'è javascript, e non nel file xml che leggete. Boh forse sbaglio..

__________________
Visit our site! http://www.utsoftware.altervista.org
oppure scrivere a:urborgteam1960@libero.it [valido anche per msn]
http://www.rvinterni.altervista.org

Last edited by Urborg_team on 24-06-2008 at 12:00

24-06-2008 11:52
Click Here to See the Profile for Urborg_team Click here to Send Urborg_team a Private Message Visit Urborg_team's homepage! Find more posts by Urborg_team Add Urborg_team to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
emanuele0208
.amico.

User info:
Registered: Sep 2007
Posts: 39 (0.01 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno: 1
Time Online: 17:46:16 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Io sono riuscito a far spuntare nel div l'xml correttamente formattato, solo che così come fatto adesso posso visulaizzare solo il file xml che specifico all'interno del javascript, io invece volevo integrarlo con alcune funzioni ajax di contenuto multiplo nella pagina dove ad ogni link mi caricava un xml diverso....
vi faccio vedere il codice che mi funziona

PHP:

<script type="text/javascript" src="js/jquery.xslTransform/sarissa-full-0.9.9.4/gr/abiss/js/sarissa/sarissa.js"></script>
<script type="text/javascript" src="js/jquery.xslTransform/sarissa-full-0.9.9.4/gr/abiss/js/sarissa/sarissa_ieemu_xpath.js"></script>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.debug/jquery.debug.js"></script>
<script type="text/javascript" src="js/jquery.xslTransform/jquery.xslTransform.js"></script>



PHP:

<script type="text/javascript">
    // turn on debugging (see jquery.xslTransform.js)
    var DEBUG = true;

    // check for jQuery and Sarissa
    try{
        jQuery;
    }catch(e){
        alert('You need to include jQuery!');
    }
    try{
        Sarissa;
    }catch(e){
        alert('You need to include Sarissa!');
    }

    $(document).ready( function(){

        // without an xpath
        $('#without').getTransform('test.xsl','test.xml');

        // now load both files into variables for the next 2 transformations
        var xsldoc = $.xsl.load('test.xsl');
        var xmldoc = $.xsl.load('test.xml');

        // with an xpath
        $('#with').getTransform(
            xsldoc,
            xmldoc,
            {
                xpath: '/test/inside'
            }
        );

        // with a param and a callback
        $('#param').getTransform(
            xsldoc,
            xmldoc,
            {
                params: { arthur: 'dent, a total kneebiter' },
                callback: function(){ $('#param li').hover( function(){ $(this).css('background-color','yellow'); }, function(){ $(this).css('background-color','transparent'); } ); }
            }
        );

        // serialize doc
        $('#serialize').html( $.xsl.serialize(xmldoc).replace(/</g,'&lt;').replace(/>/g,'&gt;') );

    });
    </script>
<



e qui il div che mi va a riscrivere

PHP:

<div class="contenuto" id="without">
        </div>

24-06-2008 14:03
Click Here to See the Profile for emanuele0208 Click here to Send emanuele0208 a Private Message Find more posts by emanuele0208 Add emanuele0208 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
emanuele0208
.amico.

User info:
Registered: Sep 2007
Posts: 39 (0.01 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno: 1
Time Online: 17:46:16 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Questo è invece il codice che per il contenuto multiplo all'interno di un div....

PHP:

<script type="text/javascript">

   function ajaxLoader(url,id)
    {
        if (document.getElementById) {
            var x = (window.ActiveXObject) ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();
            }
            if (x)
                {
            x.onreadystatechange = function()
                    {
                if (x.readyState == 4 && x.status == 200)
                        {
                        el = document.getElementById(id);
                        el.innerHTML = x.responseText;
                    }
                    }
                x.open("GET", url, true);
                x.send(null);
                }
                        
        }

</script>



PHP:

<body onload="ajaxLoader('esercizio01.xml','contenuto')">



PHP:

<a href="java script:ajaxLoader('esercizio02.xml','contenuto');" class="morelink">Info del sistema <span class="links_text"></span></a>



PHP:

<div id="contenuto">
</div>



qui purtroppo mi carica l'xml senza l'xslt....qualcuno sa come far interagire il il codice del post precedente con questo, in modo tale da far caricare l'xml unitamente al suo xslt in maniera multipla all'interno del div? :cry::cry::cry:

Last edited by emanuele0208 on 24-06-2008 at 14:50

24-06-2008 14:11
Click Here to See the Profile for emanuele0208 Click here to Send emanuele0208 a Private Message Find more posts by emanuele0208 Add emanuele0208 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Urborg_team
.primate.

User info:
Registered: Sep 2004
Posts: 74 (0.01 al dì)
Location: Torre de busi
Corso: Comunicazione digitale
Anno: 3
Time Online: 14:15:17 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

perchè hai utilizzato jquery e sarissa? a cosa ti servono? non si può utilizzare altri metodi?

__________________
Visit our site! http://www.utsoftware.altervista.org
oppure scrivere a:urborgteam1960@libero.it [valido anche per msn]
http://www.rvinterni.altervista.org

24-06-2008 14:55
Click Here to See the Profile for Urborg_team Click here to Send Urborg_team a Private Message Visit Urborg_team's homepage! Find more posts by Urborg_team Add Urborg_team to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Nostrills
.cow.

User info:
Registered: Jan 2008
Posts: 40 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 10 Days, 16:17:09: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

passo in avanti....su safari riesco a caricare xml e xslt
ma su IE nulla....come diavolo si fa?

24-06-2008 14:59
Click Here to See the Profile for Nostrills Click here to Send Nostrills a Private Message Find more posts by Nostrills Add Nostrills to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Urborg_team
.primate.

User info:
Registered: Sep 2004
Posts: 74 (0.01 al dì)
Location: Torre de busi
Corso: Comunicazione digitale
Anno: 3
Time Online: 14:15:17 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

anche noi ce lo chiediamo! mi dice accesso negato solo su IE.

__________________
Visit our site! http://www.utsoftware.altervista.org
oppure scrivere a:urborgteam1960@libero.it [valido anche per msn]
http://www.rvinterni.altervista.org

24-06-2008 15:08
Click Here to See the Profile for Urborg_team Click here to Send Urborg_team a Private Message Visit Urborg_team's homepage! Find more posts by Urborg_team Add Urborg_team to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Nostrills
.cow.

User info:
Registered: Jan 2008
Posts: 40 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 10 Days, 16:17:09: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

che palle però sto progetto....
se qualcuno trova on line qualche script funzionante metta il link grazie

Last edited by Nostrills on 24-06-2008 at 15:25

24-06-2008 15:11
Click Here to See the Profile for Nostrills Click here to Send Nostrills a Private Message Find more posts by Nostrills Add Nostrills to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 11:46.    Post New Thread    Post A Reply
Pages (5): « 1 [2] 3 4 5 »   Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.045 seconds (78.38% PHP - 21.62% MySQL) con 25 query.