sto trasformando documento XSL in html come questo:utilizzando xsl: tag html elemento di trasformazione
<xsl:template match="/">
<html>
<head>
<title>Title</title>
</head>
<body>
Blah-blah
</body>
</html>
</xsl:template>
E 'modo giusto? O forse l'uso di xsl:element
è meglio? Non ho visto esempi con tale variante:
<xsl:template match="/">
<xsl:element name="html">
<xsl:element name="head">
<xsl:element name="title">
Title
</xsl:element>
</xsl:element>
<xsl:element name="body">
Blah-blah
</xsl:element>
</xsl:element>
</xsl:template>
Quale variante è giusta?
Cordiali saluti.
Oh, non ho pensato a questo caso (calcolo del nome dell'elemento). Grazie, per me è più chiaro ora! – bsiamionau