Internazionalizzazione di XSL |
La codifica
|
Un attributo della codifica specifica la codifica preferita da usare. Un metodo dell'uscita del HTML dovrebbe aggiungere l'elemento del META subito dopo di una avvi-modifica dell'elemento CAPO che specifica la codifica del carattere che deve realmente essere usata.
|
XML Source
<xslTutorial>
<HTMl>
<BODY>
<H1> HTML output </H1>
Žížala šnek ko?ka pa?ez be?ka m?šec výr
</BODY>
</HTML>
</xslTutorial>
|
HTML output 1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>HTML</TITLE> </HEAD>
<BODY>
<H1> HTML output </H1> Žížala šnek ko?ka pa?ez be?ka m?šec výr </BODY> </HTML>
|
|
XSL stylesheet 1
<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
<xsl:output method="html" encoding="UTF-8"/>
<xsl:template match="/">
<xsl:copy-of select="/xslTutorial/*"/>
</xsl:template>
</xsl:stylesheet>
|
|
|
|
Keywords XSL Internationalization, xsl syntax, xsl dtd, jsp xsl, xsl namespace, xsl whitespace,
java internationalization, xsl space, xsl variable, xsl xpath, xsl document, xsl javascript,
xsl element, xsl entity, xsl text, xsl translate, xsl css, xsl doctype, xsl sort,
xsl count, xsl editor, xsl encoding, xsl xhtml, saxon xsl,struts internationalization,
xsl schema, xsl href, xsl param, xsl stylesheet, w3c xsl, rss xsl, xsl include,
xsl template, xsl html, xsl if, xsl replace, xsl parameter, xsl function, xsl processor,
xsl id, xsl output, xsl node,
|