| 1 | <?xml version='1.0'?> |
| 2 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" |
| 3 | xmlns:xhtml="http://www.w3.org/1999/xhtml"> |
| 4 | |
| 5 | <xsl:output method='xml' /> |
| 6 | |
| 7 | <xsl:template match="xhtml:head"> |
| 8 | <xsl:copy> |
| 9 | <xsl:apply-templates select="@*"/> |
| 10 | <xsl:apply-templates select="node()"/> |
| 11 | <link href="style.css" rel="stylesheet" type="text/css" /> |
| 12 | <script type="text/javascript" src="frame.js"> |
| 13 | <xsl:text> </xsl:text> |
| 14 | </script> |
| 15 | </xsl:copy> |
| 16 | </xsl:template> |
| 17 | |
| 18 | <xsl:template match="xhtml:body"> |
| 19 | <xsl:copy> |
| 20 | <xsl:apply-templates select="@*"/> |
| 21 | |
| 22 | <iframe src="header.html" frameborder="0" width="100%" height="30" |
| 23 | allowtransparency="true" scrolling="no" |
| 24 | style="position: relative; left: 0px; top: 0px;"> |
| 25 | <xsl:text> </xsl:text> |
| 26 | </iframe> |
| 27 | |
| 28 | <xsl:apply-templates select="node()"/> |
| 29 | |
| 30 | <iframe src="footer.html" width="100%" allowtransparency="true" |
| 31 | scrolling="no" |
| 32 | frameborder="0" height="100"> |
| 33 | <xsl:text> </xsl:text> |
| 34 | </iframe> |
| 35 | </xsl:copy> |
| 36 | </xsl:template> |
| 37 | |
| 38 | <xsl:template match="@*|node()"> |
| 39 | <xsl:copy> |
| 40 | <xsl:apply-templates select="@*"/> |
| 41 | <xsl:apply-templates select="node()"/> |
| 42 | </xsl:copy> |
| 43 | </xsl:template> |
| 44 | |
| 45 | </xsl:stylesheet> |