OLD | NEW |
1 <?xml version="1.0"?> | 1 <?xml version="1.0"?> |
2 <?xml-stylesheet type="text/xsl" href="#stylesheet"?> | 2 <?xml-stylesheet type="text/xsl" href="#stylesheet"?> |
3 <!DOCTYPE doc [ | 3 <!DOCTYPE doc [ |
4 <!ELEMENT xsl:stylesheet ANY> | 4 <!ELEMENT xsl:stylesheet ANY> |
5 <!ATTLIST xsl:stylesheet id ID #REQUIRED> | 5 <!ATTLIST xsl:stylesheet id ID #REQUIRED> |
6 ]> | 6 ]> |
7 <doc> | 7 <doc> |
8 | 8 |
9 <xsl:stylesheet version="1.0" id="stylesheet" xmlns:xsl="http://www.w3.org/199
9/XSL/Transform"> | 9 <xsl:stylesheet version="1.0" id="stylesheet" xmlns:xsl="http://www.w3.org/199
9/XSL/Transform"> |
10 <xsl:output method="html"/> | 10 <xsl:output method="html"/> |
(...skipping 15 matching lines...) Expand all Loading... |
26 <xsl:value-of select="document($method1)/foo/bar"/></p> | 26 <xsl:value-of select="document($method1)/foo/bar"/></p> |
27 <p>using document('<xsl:value-of select="$method2"/>'): | 27 <p>using document('<xsl:value-of select="$method2"/>'): |
28 <xsl:value-of select="document($method2)/foo/bar"/></p> | 28 <xsl:value-of select="document($method2)/foo/bar"/></p> |
29 | 29 |
30 </body> | 30 </body> |
31 </html> | 31 </html> |
32 </xsl:template> | 32 </xsl:template> |
33 | 33 |
34 </xsl:stylesheet> | 34 </xsl:stylesheet> |
35 </doc> | 35 </doc> |
OLD | NEW |