XSL Transformations: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Riga 129:
This XHTML generates the output below when rendered in a [[web browser]].
[[Image:xslt ex2.png|thumb|center|Rendered XHTML generated from an XML input file and an XSLT transformation.]]
 
In order for a [[web browser]] to be able automatically to apply an XSL transformation to an XML document on display, an XML stylesheet processing instruction can be inserted into XML. So, for example, if the stylesheet in Example 2 above were available as "example2.xsl", the following instruction could be added to the original incoming XML:<ref>{{cite web | url = http://www.w3.org/TR/xslt#section-Embedding-Stylesheets | title = XSL Transformations (XSLT) Version 1.0: W3C Recommendation&nbsp;– Embedding Stylesheets | date = 16 November 1999 | publisher = W3C | accessdate = 2009-01-06}}</ref>
 
<source lang="xml">
Riga 136 ⟶ 134:
</source>
 
(In this exampleL'esempio, <code>text/xsl</code> isè technicallytecnicamente incorrectincorretto accordingsecondo tole thespecifiche W3C specifications, but itma isè thel'unico onlytipo mediamultimediale typeche thatè isampiamente widelysupportato supportedda acrosstutti currenti (2009)principali browsers[[browser]].)
 
== Voci correlate ==