Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi to all, in this week on my home page appears this error : Error reading XSLT file: \xslt\Modulo.xslt This is the Modulo.xslt: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp " "> ]> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt" xmlns:umbraco.library="urn:umbraco.library" xmlns:Exslt.ExsltCommon="urn:Exslt.ExsltCommon" xmlns:Exslt.ExsltDatesAndTimes="urn:Exslt.ExsltDatesAndTimes" xmlns:Exslt.ExsltMath="urn:Exslt.ExsltMath" xmlns:Exslt.ExsltRegularExpressions="urn:Exslt.ExsltRegularExpressions" xmlns:Exslt.ExsltStrings="urn:Exslt.ExsltStrings" xmlns:Exslt.ExsltSets="urn:Exslt.ExsltSets" exclude-result-prefixes="msxml umbraco.library Exslt.ExsltCommon Exslt.ExsltDatesAndTimes Exslt.ExsltMath Exslt.ExsltRegularExpressions Exslt.ExsltStrings Exslt.ExsltSets "> <xsl:output method="html" omit-xml-declaration="yes"/> <xsl:param name="currentPage"/> <xsl:template match="/"><link rel="stylesheet" href="/css/validationEngine.jquery.css" type="text/css"/><link rel="stylesheet" type="text/css" href="/calendario/src/css/jscal2.css" /><link rel="stylesheet" type="text/css" href="/calendario/src/css/border-radius.css" /><link rel="stylesheet" type="text/css" href="/calendario/src/css/steel/steel.css" /> <xsl:param name="percorso" select="$currentPage/ancestor-or-self::Homepage/*/* [@isDoc]"/> <script src="/calendario/src/js/jscal2.js"></script> <script src="/calendario/src/js/lang/it.js"></script> <!-- start writing XSLT --> <!-- start col right --> <!-- start check avail--> <div class="corpo_modulo"> <div id="check_avail" class="expose add-bottom"> <!-- <h2><xsl:value-of select="umbraco.library:GetDictionaryItem('Richiedi Disponibilit')"/></h2>--> <xsl:variable name="return" select="umbraco.library:Request('i')"/> <xsl:choose> <xsl:when test="$return = '1'"> <xsl:variable name="nome" select="umbraco.library:RequestForm('nome')"/> <xsl:variable name="telefono" select="umbraco.library:RequestForm('telefono')"/> <xsl:variable name="e_mail" select="umbraco.library:RequestForm('e_mail')"/> <xsl:variable name="f_date1" select="umbraco.library:RequestForm('f_date1')"/> <xsl:variable name="f_date2" select="umbraco.library:RequestForm('f_date2')"/> <xsl:variable name="citta" select="umbraco.library:RequestForm('citta')"/> <xsl:variable name="vettura" select="umbraco.library:RequestForm('vettura')"/> <xsl:variable name="richiesta" select="umbraco.library:RequestForm('richiesta')"/> <xsl:variable name="body"> <![CDATA[<html><head><meta http-equiv='Content-Language' content='it'><meta http-equiv='Content-Type' content='text/html; charset=windows-1252'><title>RICHIESTA</title></head><body><table border='1' bordercolor='#C0C0C0' width='800' style='border-collapse: collapse; font-family: Arial; font-size: 10pt'> <tr><td width='200'><b>OGGETTO: </b></td><td><font color='#FF0000'>]]><xsl:value-of select="$percorso/oggetto"/><![CDATA[</font></td></tr> <tr><td width='200'> </td><td> </td></tr> <tr><td width='200'><b>VEICOLO RICHIESTO:</b></td><td>]]><xsl:value-of select="$vettura"/><![CDATA[</td></tr> <tr><td width='200'><b>NOME:</b></td><td>]]><xsl:value-of select="$nome"/><![CDATA[</td></tr> <tr><td width='200'><b>TELEFONO:</b></td><td>]]><xsl:value-of select="$telefono"/><![CDATA[</td></tr> <tr><td width='200'><b>E-MAIL:</b></td><td><a href='mailto:]]><xsl:value-of select="$e_mail"/><![CDATA['>]]><xsl:value-of select="$e_mail"/><![CDATA[</a></td></tr> <tr><td width='200'><b>DATA E ORA DEL RITIRO:</b></td><td>]]><xsl:value-of select="$f_date1"/><![CDATA[</td></tr> <tr><td width='200'><b>DATA E ORA DEL RICONSEGNA:</b></td><td>]]><xsl:value-of select="$f_date2"/><![CDATA[</td></tr> <tr><td width='200'><b>LOCALITA':</b></td><td>]]><xsl:value-of select="$citta"/><![CDATA[</td></tr> <tr><td width='200'><b>TESTO:</b></td><td>]]><xsl:value-of select="$richiesta"/><![CDATA[</td></tr> </table></body></html> ]]> <![CDATA[]]></xsl:variable> <xsl:value-of select="umbraco.library:SendMail($percorso/mittente, $percorso/destinatario, $percorso/oggetto, $body, true())"/> <xsl:value-of select="umbraco.library:SendMail($percorso/mittente, $percorso/destinatario2, $percorso/oggetto, $body, true())"/> <xsl:value-of select="umbraco.library:SendMail($percorso/mittente, $percorso/destinatario3, $percorso/oggetto, $body, true())"/> <div class="container" style="padding: 20px 0"> <div class="one-third column "> <br/> <xsl:value-of select="$percorso/testoConfermaInvio" disable-output-escaping="yes"/> <br/> Nome: <strong><xsl:value-of select="$nome"/></strong><br/> Telefono: <strong><xsl:value-of select="$telefono"/></strong><br/> E-mail: <strong><xsl:value-of select="$e_mail"/></strong><br/> Data e ora di Ritiro: <strong><xsl:value-of select="$f_date1"/></strong><br/> Data e ora di Riconsegna: <strong><xsl:value-of select="$f_date2"/></strong><br/> Città: <strong><xsl:value-of select="$citta"/></strong><br/> Veicolo Richiesto: <strong><xsl:value-of select="$vettura"/></strong><br/> Richiesta: <xsl:value-of select="$richiesta"/><br/> </div> </div> </xsl:when> <xsl:otherwise> <xsl:variable name="id" select="umbraco.library:Request('id')"/> <form class="formularee" id="formID" method="post" action="?i=1"> <div id="contactForm"> <div class="container" style="padding: 20px 0"> <a href="#" title="Contatti" style="float:right" class="contact button medium green">X</a> <div class="sixteen columns"> <xsl:value-of select="$percorso/testoForm" disable-output-escaping="yes"/> </div> <div class="one-third column"> <div class="field"> Nome*<br/><input type="text" name="nome" class="validate[required] text-input" id="nome"/> </div> </div> <div class="one-third column"> <div class="field"> Telefono*<br/><input type="text" name="telefono" id="telefono" class="validate[required,custom[phone]] text-input"/> </div> </div> <div class="one-third column"> <div class="field"> E-mail*<br/><input type="text" name="e_mail" id="e_mail" class="validate[required,custom[email]] text-input"/> </div> </div> <div class="one-third column"> <div class="field"> Data e ora di Ritiro*<br/><input name="f_date1" id="f_date1" style="float:left" class="validate[required] text-input" type="text"/> <input class="submit" style="width:10px; border:none; margin-left:5px; background:url(/images/calendario.png) no-repeat; float:left" type="button" name="button2" id="f_btn1" value="" /> </div> </div> <div class="one-third column"> <div class="field"> Data e ora di Riconsegna*<br/><input name="f_date2" id="f_date2" style="float:left" class="validate[required] text-input" type="text"/> <input style="width:20px; border:none; margin-left:5px; background:url(/images/calendario.png) no-repeat; float:left" type="button" name="button2" id="f_btn2" value="" /> </div> </div> <div class="one-third column"> <div class="field"> Città*<br/> <select name="citta" class="validate[required] text-input" id="citta"> <option value="">- Seleziona -</option> <option>Roma</option> <option>Milano</option> </select> </div> </div> <div class="one-third column"> <div class="field"> Veicolo richiesto*<br/> <select name="vettura" class="validate[required] text-input" id="vettura"> <option value="">- Seleziona -</option> <option>smart Coupè</option> <option>smart Cabrio</option> <option>smart BRABUS</option> <option>Classe A</option> <option>Classe B</option> <option>Classe CLA</option> <option>Classe C SW</option> <option>Classe SLK</option> <option>Classe E</option> <option>Classe GLK</option> <option>Classe ML </option> <option>Viano 8 posti</option> <option>Sprinter Van 310</option> </select> </div> </div> <div class="one-third column"> <div class="field"> Richiesta<br/><textarea name="richiesta" id="richiesta"></textarea> </div> </div> <div class="two-third column"><br/> <input type="checkbox" name="privacy" id="privacy" class="validate[required] text-input"/> Acconsento al trattamento dei miei dati personali* <a href="http://www.edilfarrent.it/edilfarrent_privacypolicy.pdf" target="_blank">(Leggi informativa)</a> </div> <div class="one-third column"><br/> <input class="button medium green" type="submit" value="{$percorso/bottone}" /> </div> </div> </div> </form> <script type="text/javascript">//<![CDATA[ var cal = Calendar.setup({ onSelect: function(cal) { cal.hide() }, showTime: true }); cal.manageFields("f_btn1", "f_date1", "%d-%m-%Y Ore%H:%M"); cal.manageFields("f_btn2", "f_date2", "%d-%m-%Y Ore%H:%M"); //]]></script> </xsl:otherwise> </xsl:choose> </div> </div> </xsl:template> </xsl:stylesheet>
This is the Modulo.xslt:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp " "> ]> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt" xmlns:umbraco.library="urn:umbraco.library" xmlns:Exslt.ExsltCommon="urn:Exslt.ExsltCommon" xmlns:Exslt.ExsltDatesAndTimes="urn:Exslt.ExsltDatesAndTimes" xmlns:Exslt.ExsltMath="urn:Exslt.ExsltMath" xmlns:Exslt.ExsltRegularExpressions="urn:Exslt.ExsltRegularExpressions" xmlns:Exslt.ExsltStrings="urn:Exslt.ExsltStrings" xmlns:Exslt.ExsltSets="urn:Exslt.ExsltSets" exclude-result-prefixes="msxml umbraco.library Exslt.ExsltCommon Exslt.ExsltDatesAndTimes Exslt.ExsltMath Exslt.ExsltRegularExpressions Exslt.ExsltStrings Exslt.ExsltSets "> <xsl:output method="html" omit-xml-declaration="yes"/> <xsl:param name="currentPage"/> <xsl:template match="/"><link rel="stylesheet" href="/css/validationEngine.jquery.css" type="text/css"/><link rel="stylesheet" type="text/css" href="/calendario/src/css/jscal2.css" /><link rel="stylesheet" type="text/css" href="/calendario/src/css/border-radius.css" /><link rel="stylesheet" type="text/css" href="/calendario/src/css/steel/steel.css" /> <xsl:param name="percorso" select="$currentPage/ancestor-or-self::Homepage/*/* [@isDoc]"/> <script src="/calendario/src/js/jscal2.js"></script> <script src="/calendario/src/js/lang/it.js"></script> <!-- start writing XSLT --> <!-- start col right --> <!-- start check avail--> <div class="corpo_modulo"> <div id="check_avail" class="expose add-bottom"> <!-- <h2><xsl:value-of select="umbraco.library:GetDictionaryItem('Richiedi Disponibilit')"/></h2>--> <xsl:variable name="return" select="umbraco.library:Request('i')"/> <xsl:choose> <xsl:when test="$return = '1'"> <xsl:variable name="nome" select="umbraco.library:RequestForm('nome')"/> <xsl:variable name="telefono" select="umbraco.library:RequestForm('telefono')"/> <xsl:variable name="e_mail" select="umbraco.library:RequestForm('e_mail')"/> <xsl:variable name="f_date1" select="umbraco.library:RequestForm('f_date1')"/> <xsl:variable name="f_date2" select="umbraco.library:RequestForm('f_date2')"/> <xsl:variable name="citta" select="umbraco.library:RequestForm('citta')"/> <xsl:variable name="vettura" select="umbraco.library:RequestForm('vettura')"/> <xsl:variable name="richiesta" select="umbraco.library:RequestForm('richiesta')"/> <xsl:variable name="body"> <![CDATA[<html><head><meta http-equiv='Content-Language' content='it'><meta http-equiv='Content-Type' content='text/html; charset=windows-1252'><title>RICHIESTA</title></head><body><table border='1' bordercolor='#C0C0C0' width='800' style='border-collapse: collapse; font-family: Arial; font-size: 10pt'> <tr><td width='200'><b>OGGETTO: </b></td><td><font color='#FF0000'>]]><xsl:value-of select="$percorso/oggetto"/><![CDATA[</font></td></tr> <tr><td width='200'> </td><td> </td></tr> <tr><td width='200'><b>VEICOLO RICHIESTO:</b></td><td>]]><xsl:value-of select="$vettura"/><![CDATA[</td></tr> <tr><td width='200'><b>NOME:</b></td><td>]]><xsl:value-of select="$nome"/><![CDATA[</td></tr> <tr><td width='200'><b>TELEFONO:</b></td><td>]]><xsl:value-of select="$telefono"/><![CDATA[</td></tr> <tr><td width='200'><b>E-MAIL:</b></td><td><a href='mailto:]]><xsl:value-of select="$e_mail"/><![CDATA['>]]><xsl:value-of select="$e_mail"/><![CDATA[</a></td></tr> <tr><td width='200'><b>DATA E ORA DEL RITIRO:</b></td><td>]]><xsl:value-of select="$f_date1"/><![CDATA[</td></tr> <tr><td width='200'><b>DATA E ORA DEL RICONSEGNA:</b></td><td>]]><xsl:value-of select="$f_date2"/><![CDATA[</td></tr> <tr><td width='200'><b>LOCALITA':</b></td><td>]]><xsl:value-of select="$citta"/><![CDATA[</td></tr> <tr><td width='200'><b>TESTO:</b></td><td>]]><xsl:value-of select="$richiesta"/><![CDATA[</td></tr> </table></body></html> ]]> <![CDATA[]]></xsl:variable> <xsl:value-of select="umbraco.library:SendMail($percorso/mittente, $percorso/destinatario, $percorso/oggetto, $body, true())"/> <xsl:value-of select="umbraco.library:SendMail($percorso/mittente, $percorso/destinatario2, $percorso/oggetto, $body, true())"/> <xsl:value-of select="umbraco.library:SendMail($percorso/mittente, $percorso/destinatario3, $percorso/oggetto, $body, true())"/> <div class="container" style="padding: 20px 0"> <div class="one-third column "> <br/> <xsl:value-of select="$percorso/testoConfermaInvio" disable-output-escaping="yes"/> <br/> Nome: <strong><xsl:value-of select="$nome"/></strong><br/> Telefono: <strong><xsl:value-of select="$telefono"/></strong><br/> E-mail: <strong><xsl:value-of select="$e_mail"/></strong><br/> Data e ora di Ritiro: <strong><xsl:value-of select="$f_date1"/></strong><br/> Data e ora di Riconsegna: <strong><xsl:value-of select="$f_date2"/></strong><br/> Città: <strong><xsl:value-of select="$citta"/></strong><br/> Veicolo Richiesto: <strong><xsl:value-of select="$vettura"/></strong><br/> Richiesta: <xsl:value-of select="$richiesta"/><br/> </div> </div> </xsl:when> <xsl:otherwise> <xsl:variable name="id" select="umbraco.library:Request('id')"/> <form class="formularee" id="formID" method="post" action="?i=1"> <div id="contactForm"> <div class="container" style="padding: 20px 0"> <a href="#" title="Contatti" style="float:right" class="contact button medium green">X</a> <div class="sixteen columns"> <xsl:value-of select="$percorso/testoForm" disable-output-escaping="yes"/> </div> <div class="one-third column"> <div class="field"> Nome*<br/><input type="text" name="nome" class="validate[required] text-input" id="nome"/> </div> </div> <div class="one-third column"> <div class="field"> Telefono*<br/><input type="text" name="telefono" id="telefono" class="validate[required,custom[phone]] text-input"/> </div> </div> <div class="one-third column"> <div class="field"> E-mail*<br/><input type="text" name="e_mail" id="e_mail" class="validate[required,custom[email]] text-input"/> </div> </div> <div class="one-third column"> <div class="field"> Data e ora di Ritiro*<br/><input name="f_date1" id="f_date1" style="float:left" class="validate[required] text-input" type="text"/> <input class="submit" style="width:10px; border:none; margin-left:5px; background:url(/images/calendario.png) no-repeat; float:left" type="button" name="button2" id="f_btn1" value="" /> </div> </div> <div class="one-third column"> <div class="field"> Data e ora di Riconsegna*<br/><input name="f_date2" id="f_date2" style="float:left" class="validate[required] text-input" type="text"/> <input style="width:20px; border:none; margin-left:5px; background:url(/images/calendario.png) no-repeat; float:left" type="button" name="button2" id="f_btn2" value="" /> </div> </div> <div class="one-third column"> <div class="field"> Città*<br/> <select name="citta" class="validate[required] text-input" id="citta"> <option value="">- Seleziona -</option> <option>Roma</option> <option>Milano</option> </select> </div> </div> <div class="one-third column"> <div class="field"> Veicolo richiesto*<br/> <select name="vettura" class="validate[required] text-input" id="vettura"> <option value="">- Seleziona -</option> <option>smart Coupè</option> <option>smart Cabrio</option> <option>smart BRABUS</option> <option>Classe A</option> <option>Classe B</option> <option>Classe CLA</option> <option>Classe C SW</option> <option>Classe SLK</option> <option>Classe E</option> <option>Classe GLK</option> <option>Classe ML </option> <option>Viano 8 posti</option> <option>Sprinter Van 310</option> </select> </div> </div> <div class="one-third column"> <div class="field"> Richiesta<br/><textarea name="richiesta" id="richiesta"></textarea> </div> </div> <div class="two-third column"><br/> <input type="checkbox" name="privacy" id="privacy" class="validate[required] text-input"/> Acconsento al trattamento dei miei dati personali* <a href="http://www.edilfarrent.it/edilfarrent_privacypolicy.pdf" target="_blank">(Leggi informativa)</a> </div> <div class="one-third column"><br/> <input class="button medium green" type="submit" value="{$percorso/bottone}" /> </div> </div> </div> </form> <script type="text/javascript">//<![CDATA[ var cal = Calendar.setup({ onSelect: function(cal) { cal.hide() }, showTime: true }); cal.manageFields("f_btn1", "f_date1", "%d-%m-%Y Ore%H:%M"); cal.manageFields("f_btn2", "f_date2", "%d-%m-%Y Ore%H:%M"); //]]></script> </xsl:otherwise> </xsl:choose> </div> </div> </xsl:template> </xsl:stylesheet>
help pls...
I would suggest I move this to the XSLT forum for you?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Error reading XSLT file: \xslt\Modulo.xslt
help pls...
I would suggest I move this to the XSLT forum for you?
is working on a reply...