OLD | NEW |
1 0.1 original xml: | 1 0.1 original xml: |
2 <?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="xsl
t-text.xsl"?><TEST>SOURCE XML: <<<&тест&>>></TEST> | 2 <?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="xsl
t-text.xsl"?><TEST>SOURCE XML: <<<&тест&>>></TEST> |
3 0.2 xsl1: | 3 0.2 xsl1: |
4 <?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.o
rg/1999/XSL/Transform" version="1.0"> | 4 <?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.o
rg/1999/XSL/Transform" version="1.0"> |
5 | 5 |
6 <xsl:output method="text" encoding="KOI8-R"/> | 6 <xsl:output method="text" encoding="KOI8-R"/> |
7 <xsl:template match="TEST">CHARACTERS IN XSLT: <<<&тест&>>
;> | 7 <xsl:template match="TEST">CHARACTERS IN XSLT: <<<&тест&>>
;> |
8 <xsl:apply-templates/><xsl:text> | 8 <xsl:apply-templates/><xsl:text> |
9 </xsl:text></xsl:template> | 9 </xsl:text></xsl:template> |
10 | 10 |
(...skipping 18 matching lines...) Expand all Loading... |
29 | 29 |
30 <xsl:template> | 30 <xsl:template> |
31 <xsl:value-of select="."/> | 31 <xsl:value-of select="."/> |
32 </xsl:template> | 32 </xsl:template> |
33 | 33 |
34 </xsl:stylesheet> | 34 </xsl:stylesheet> |
35 | 35 |
36 1.0 void importStylesheet(in DOMNode style): | 36 1.0 void importStylesheet(in DOMNode style): |
37 | 37 |
38 1.1 Import two different stylesheets: | 38 1.1 Import two different stylesheets: |
39 <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type"
content="text/html; charset=UTF-8"></head><body> | 39 <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type"
content="text/html; charset=UTF-8" /></head><body> |
40 CHARACTERS IN XSLT: ééééééééééé <br><br>SOURCE XML: <<<&a
mp;тест&>>></body></html> | 40 CHARACTERS IN XSLT: ééééééééééé <br /><br />SOURCE XML: <<&l
t;&тест&>>></body></html> |
41 1.2 Import same stylesheet twice: | 41 1.2 Import same stylesheet twice: |
42 <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1
.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="
http://www.w3.org/1999/xhtml"> | 42 <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1
.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="
http://www.w3.org/1999/xhtml"> |
43 <head><title></title></head> | 43 <head><title></title></head> |
44 <body> | 44 <body> |
45 <pre>CHARACTERS IN XSLT: <<<&тест&>>> | 45 <pre>CHARACTERS IN XSLT: <<<&тест&>>> |
46 SOURCE XML: <<<&тест&>>></pre> | 46 SOURCE XML: <<<&тест&>>></pre> |
47 </body> | 47 </body> |
48 </html> | 48 </html> |
49 1.3 Import undefined stylesheet: | 49 1.3 Import undefined stylesheet: |
50 ****Failure**** (expected exception, instead got result: "undefined") | 50 ****Failure**** (expected exception, instead got result: "undefined") |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 | 112 |
113 7.1 verify that clearParameters does: | 113 7.1 verify that clearParameters does: |
114 Success | 114 Success |
115 | 115 |
116 8.0 void reset(): | 116 8.0 void reset(): |
117 | 117 |
118 8.1 verify that parameters have been cleared: | 118 8.1 verify that parameters have been cleared: |
119 Success | 119 Success |
120 8.2 verify that stylesheet has been cleared: | 120 8.2 verify that stylesheet has been cleared: |
121 Success | 121 Success |
OLD | NEW |