Ver Mensaje Individual
  #1 (permalink)  
Antiguo 08/02/2006, 17:33
Dannydaniel
 
Fecha de Ingreso: diciembre-2004
Mensajes: 85
Antigüedad: 20 años, 2 meses
Puntos: 0
Mensaje Como veo mis datos en Html

Tengo una plantilla en XSL que lo que hago es ver mis datos pero en RDF, y lo que necesito es verlo en HTML, espeor me puedan ayudar con mi codigo.



<?xml version="1.0" encoding="iso-8859-1" ?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:comp ="http://www.supsi.ch/PeC/competence/0.1/"
xmlns:group="http://www.supsi.ch/PeC/group/0.1/"
xmlns:cursos="http://www.supsi.ch/PeC/corso/0.1"
>

....................... "mas codigo de plantillas"

<xsl:template match="/">
<div style="font-family: 'Trebuchet MS', Verdana, sans-serif;">
<xsl:apply-templates/>
</div>
</xsl:template>

....................

</xsl:stylesheet>

<xsl:template match="URI">
<div style="font-size:8pt;margin-bottom:10px; margin-top:10px;">
<span id='sub'>URI </span> : <a>

<xsl:attribute name="target">
<xsl:text>Detail </xsl:text>
</xsl:attribute>

<xsl:attribute name="href"><xsl:value-of select="."/></xsl:attribute> "Aqui hace que se vea en RDF"

Visualize RDF</a></div>
</xsl:template>