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. > Community > Tech > [programmazione]XML, HTML e Java Thread Rating: 1 votes, 5.00 average.
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
0m4r
.grande:maestro.

User info:
Registered: Mar 2002
Posts: 7287 (0.84 al dì)
Location: Düsseldorf (DE)
Corso:
Anno: ESAMI FINITI
Time Online: 49 Days, 0:57:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
[programmazione]XML, HTML e Java

Ho un problema che non so come risolvere, vorrei avere un aiuto se qualcuno è in grado. Ecco, questo è il problema:

Ho una form HTML con una textarea, i dati inseriti sono memorizzati un un databses mysql. E fin qui tutto bene...

Ora, dai dati inseriti nel DB ricavo una pagina HTML generata attraverso un parser java che combina un file XML (genereato direttamente dai dati contenuti nel database) e un file XSL verificando che il documento sia valido e ben formato.
Il problema viene quando devo posizionare i dati provenienti dalla textarea... il tutto funziona solo che il carattere "\n" non viene...ehmmm... come dire... rispettato e i ritorni a capo non si realizzano...

Ho provato a fare un replace nel testo che posiziono sostituendo "\n" con "<br/>" e utilizzando nell'XSL il tag <text>

code:
<xsl:text disable-output-escaping="yes|no"> <!-- Content:#PCDATA --> </xsl:text>

ma non è servito a nulla...

qualcuno ha dei suggerimenti da darmi?

__________________
http://www.twitter.com/0m4r

29-08-2005 13:10
Click Here to See the Profile for 0m4r Click Here to See the Blog of 0m4r Click here to Send 0m4r a Private Message Find more posts by 0m4r Add 0m4r to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
0m4r
.grande:maestro.

User info:
Registered: Mar 2002
Posts: 7287 (0.84 al dì)
Location: Düsseldorf (DE)
Corso:
Anno: ESAMI FINITI
Time Online: 49 Days, 0:57:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

RISOLTO: http://www.dpawson.co.uk/xsl/sect2/break.html#d2694e76

per me si può chiudere

__________________
http://www.twitter.com/0m4r

29-08-2005 14:07
Click Here to See the Profile for 0m4r Click Here to See the Blog of 0m4r Click here to Send 0m4r a Private Message Find more posts by 0m4r Add 0m4r to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 06:07.    Post New Thread    Post A Reply
  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.056 seconds (48.75% PHP - 51.25% MySQL) con 25 query.