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 > [xslt & Xhtml]
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
Drake83
Fan di Splinter

User info:
Registered: Nov 2003
Posts: 1631 (0.20 al dì)
Location: Garbagnate milanese
Corso: Tutto finito
Anno:
Time Online: 108 Days, 5:46:38 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
[xslt & Xhtml]

Ciao a tutti! Ho un problemino (secondo me molto stupido) che non riesco a risolvere.Sto facendo delle trasformazioni xlst dato un albero xml per ottenere xhtml in output. In sostanza devo assegnare un valore ad un campo "Text" ma non so perchè ma nn lo prende. L'intestazione è questa :

code:
<?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns: xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" doctype-public="-//W3C//DTD XHTML 1.1//EN" doctypesystem="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" />


e fin quì credo sia ok.
Poi pero' quando faccio così:
code:
Nome: <xsl:variable name="varnome"><xsl:value-of select="nome"/></xsl:variable> <input name="nome" value="varnome" />

il valore che compare nel campo Text è il nome della variabile e nn il vero valore. La cosa simpatica è che se faccio la stessa cosa in wml funza perfettamente.Sapreste dirmi come risolvere?

__________________
"io non sono come gli altri Robin Hood, io non ballo coi lupi"
"ogni mattina come narciso si specchia nel ruscello retrovisore", "ci sono mille modi per chiamare dio...dio,allha,adta,arauffa,crisma..afjasf...tanto non ti risponde"

Corrado Guzzanti è il mio Dio.
Roberto Saviano eroe nazionale.

29-03-2005 11:13
Click Here to See the Profile for Drake83 Click Here to See the Blog of Drake83 Click here to Send Drake83 a Private Message Find more posts by Drake83 Add Drake83 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
UZI
free pain dispenser

User info:
Registered: Mar 2003
Posts: 2211 (0.27 al dì)
Location: monza - troppi fighetti
Corso: com. dig.
Anno: Dottor Morte
Time Online: 14 Days, 4:46:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

guarda il caso specifico non so come risolverlo, ma quando smanettai con xml, xslt e altro per il progetto di etl ho scoperto che sono presenti molti bug nei vari moduli software, parser ed interpreti dei vari sottolinguaggi... xslt ed svg ad esempio non ne volevano sapere di funzionare assieme, anche se sulla carta non c'era nessun problema.

il mio consiglio è: quando ti trovi davanti a casi anomali, dai un'okkiata su internet per vedere se questo è dovuto ad un bug, guardando ad esempio nei forum o nelle mail list tecniche. se scopri che è un bug, spesso l'unica soluzione è fare la cosa in altri modi.

__________________
those who test will find a bullet in they chest
put ta rest
by a brotha who was hopeless
grow up broke on tha rope of insanity
how many pistols smoking coming from a broken family

29-03-2005 11:40
Click Here to See the Profile for UZI Click Here to See the Blog of UZI Click here to Send UZI a Private Message Find more posts by UZI Add UZI to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Drake83
Fan di Splinter

User info:
Registered: Nov 2003
Posts: 1631 (0.20 al dì)
Location: Garbagnate milanese
Corso: Tutto finito
Anno:
Time Online: 108 Days, 5:46:38 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by UZI
guarda il caso specifico non so come risolverlo, ma quando smanettai con xml, xslt e altro per il progetto di etl ho scoperto che sono presenti molti bug nei vari moduli software, parser ed interpreti dei vari sottolinguaggi... xslt ed svg ad esempio non ne volevano sapere di funzionare assieme, anche se sulla carta non c'era nessun problema.

il mio consiglio è: quando ti trovi davanti a casi anomali, dai un'okkiata su internet per vedere se questo è dovuto ad un bug, guardando ad esempio nei forum o nelle mail list tecniche. se scopri che è un bug, spesso l'unica soluzione è fare la cosa in altri modi.


uhm....grazie.Pero' il fatto è che quel valore lo devo passare come parametro ad un altro file quindi se nn va il campo Text non ho idea di come fare.......

__________________
"io non sono come gli altri Robin Hood, io non ballo coi lupi"
"ogni mattina come narciso si specchia nel ruscello retrovisore", "ci sono mille modi per chiamare dio...dio,allha,adta,arauffa,crisma..afjasf...tanto non ti risponde"

Corrado Guzzanti è il mio Dio.
Roberto Saviano eroe nazionale.

29-03-2005 11:45
Click Here to See the Profile for Drake83 Click Here to See the Blog of Drake83 Click here to Send Drake83 a Private Message Find more posts by Drake83 Add Drake83 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
UZI
free pain dispenser

User info:
Registered: Mar 2003
Posts: 2211 (0.27 al dì)
Location: monza - troppi fighetti
Corso: com. dig.
Anno: Dottor Morte
Time Online: 14 Days, 4:46:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

cmq, anche a me quello che non riusciva con il processore xslt del webserver (iis) invece funzionava con un processore esterno (tipo saxon)... il fatto è che questi software sono un campo minato di bug! :arg:

__________________
those who test will find a bullet in they chest
put ta rest
by a brotha who was hopeless
grow up broke on tha rope of insanity
how many pistols smoking coming from a broken family

29-03-2005 12:11
Click Here to See the Profile for UZI Click Here to See the Blog of UZI Click here to Send UZI a Private Message Find more posts by UZI Add UZI to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 17:17.    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.207 seconds (58.77% PHP - 41.23% MySQL) con 24 query.