CLOSED TREE: TraceMonkey merge head. (a=blockers)
[mozilla-central.git] / toolkit / mozapps / extensions / content / updateinfo.xsl
blobf6895e074662e3c005645046cdd4b9f6b76fd365
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsl:stylesheet version="1.0" xmlns:xhtml="http://www.w3.org/1999/xhtml"
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
5 <!-- Any elements not otherwise specified will be stripped but the contents
6 will be displayed. All attributes are stripped from copied elements. -->
8 <!-- Block these elements and their contents -->
9 <xsl:template match="xhtml:head|xhtml:script|xhtml:style">
10 </xsl:template>
12 <!-- Allowable styling elements -->
13 <xsl:template match="xhtml:b|xhtml:i|xhtml:em|xhtml:strong|xhtml:u|xhtml:q|xhtml:sub|xhtml:sup|xhtml:code">
14 <xsl:copy><xsl:apply-templates/></xsl:copy>
15 </xsl:template>
17 <!-- Allowable block formatting elements -->
18 <xsl:template match="xhtml:h1|xhtml:h2|xhtml:h3|xhtml:p|xhtml:div|xhtml:blockquote|xhtml:pre">
19 <xsl:copy><xsl:apply-templates/></xsl:copy>
20 </xsl:template>
22 <!-- Allowable list formatting elements -->
23 <xsl:template match="xhtml:ul|xhtml:ol|xhtml:li|xhtml:dl|xhtml:dt|xhtml:dd">
24 <xsl:copy><xsl:apply-templates/></xsl:copy>
25 </xsl:template>
27 <!-- These elements are copied and their contents dropped -->
28 <xsl:template match="xhtml:br|xhtml:hr">
29 <xsl:copy/>
30 </xsl:template>
32 <!-- The root document -->
33 <xsl:template match="/">
34 <xhtml:body><xsl:apply-templates/></xhtml:body>
35 </xsl:template>
37 </xsl:stylesheet>