Hi, he problem is the next, firefox 1.5 don’t display the transformation of the following xsl file, but IExplorer 6 do:
i’m using tamino API4J with servlets to display the results do the XQuery do it (the xml results), and of course, the XSL files to transform it
the XML file…
<?xml version="1.0" ?>
<?xml-stylesheet type="text/xsl" href="login.xsl" ?>
<usuarios>
<login>jpg</login>
<administrador>false</administrador>
</usuarios>
the XSL file (login.xsl):
[code]
<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet version=“2.0” xmlns:xsl=“XSLT Namespace” xmlns:fn=“XQuery, XPath, and XSLT Functions and Operators Namespace Document” xmlns:xdt=“XQuery 1.0 and XPath 2.0 XPath Datatypes Namespace” xmlns:xs=“XML Schema”>
<xsl:output version=“1.0” method=“html” indent=“yes” encoding=“UTF-8”/>
<xsl:param name=“SV_OutputFormat” select=“‘HTML’”/>
<xsl:variable name=“XML” select=“/”/>
<xsl:template match=“/”>
FME - Administracion
|
<xsl:for-each select=“$XML”>
<xsl:for-each select=“usuarios”>
|
xsl:choose <xsl:when test=“administrador =‘true’”> Bienvenido : <xsl:for-each select=“login”> xsl:apply-templates/ </xsl:for-each> Al Sistema de administracion de FME. </xsl:when> xsl:otherwise |