Go Back   Forum > Tecno-Cool > Hardware & Software

LOGIN

Register FAQ Live Now! Rules Live TV Arcade Search Today's Posts Mark Forums Read





× GAME+: Log in to play over 5000 free games and record your scores! / Accedi per giocare a oltre 5000 giochi gratuiti e registrare i tuoi punteggi!. Play Now!
× Notice: This forum is read-only.The content of the community may not be verified or updated. More info
Prev Previous Post   Next Post Next
  #1  
Old 11-04-2007, 01:18 PM
ABNormal ABNormal is offline
Administrator
 
ABNormal's Avatar
 

Join Date: May 2005
Posts: 3,978
ABNormal is on a distinguished road
Send a message via ICQ to ABNormal Send a message via MSN to ABNormal Send a message via Yahoo to ABNormal
Default

PROBLEMI con un XSL...


questo xsl mi gestisce una lista:
HTML Code:
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <html> <body style="color: rgb(204, 255, 255); background-color: rgb(255, 255, 255); background-image: url(background.jpg);" alink="#ffffcc" link="#ccffff" vlink="#66ffff"> <xsl:apply-templates> </xsl:apply-templates> </body> </html> </xsl:template> <xsl:template match="Contents"> <xsl:for-each select = "Movie"> <xsl:sort select="OriginalTitle" data-type="text" /> <xsl:choose> <xsl:when test="Category = MOVIES"> <h1><xsl:value-of select="OriginalTitle" /></h1> <h1><xsl:value-of select="Category" /></h1> </xsl:when> <xsl:otherwise> <h6><xsl:value-of select="Category" /></h6> <h6><xsl:value-of select="OriginalTitle" /></h6> </xsl:otherwise> </xsl:choose> </xsl:for-each> </xsl:template> </xsl:stylesheet>


stranamente sebbene in Category una possibile definizione è MOVIES, lo script xsl mi mostra tutto in formato <.h6.> anche per i dati che hanno categoria MOVIES


qualcuno (Ogher immagino ) sa gentilmente capirne il perchè?

ABN
__________________
«Fino a quando il colore della pelle sarà più importante del colore degli occhi ci sarà sempre la guerra.» Bob Marley


Reply With Quote





All times are GMT +2. The time now is 01:21 PM.


Powered by: vBulletin Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.