| - | ||
| +<html> | ||
| + <head> | ||
| + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
| + <meta charset="utf-8"> | ||
| + <link rel="stylesheet" type="text/css" href="tour.css"> | ||
| + </head> | ||
| + <body> | ||
| + <div class="header"><a class="page-prev" href="support.html">Previous</a></div> | ||
| + <hr><iframe id="page" src="account.xml" width="100%" height="100%" frameborder="0"></iframe></body> | ||
| +</html> |
| +#!/bin/bash | ||
| + | ||
| +# Use XSLT 2.0 to build the example HTML pages from the template. | ||
| +java -jar /home/jarvisd/dev/piechartdemo/saxon9he.jar \ | ||
| + -s:pages.xml -xsl:template.xsl | ||
| + | ||
| - | ||
| +<html> | ||
| + <head> | ||
| + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
| + <meta charset="utf-8"> | ||
| + <link rel="stylesheet" type="text/css" href="tour.css"> | ||
| + </head> | ||
| + <body> | ||
| + <div class="header"><a class="page-prev" href="hypothesis.html">Previous</a><a class="page-next" href="support.html">Next</a></div> | ||
| + <hr><iframe id="page" src="discuss.xml" width="100%" height="100%" frameborder="0"></iframe></body> | ||
| +</html> |
| - | ||
| +<html> | ||
| + <head> | ||
| + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
| + <meta charset="utf-8"> | ||
| + <link rel="stylesheet" type="text/css" href="tour.css"> | ||
| + </head> | ||
| + <body> | ||
| + <div class="header"><a class="page-prev" href="resources.html">Previous</a><a class="page-next" href="discuss.html">Next</a></div> | ||
| + <hr><iframe id="page" src="hypothesis.xml" width="100%" height="100%" frameborder="0"></iframe></body> | ||
| +</html> |
| - | ||
| +<html> | ||
| + <head> | ||
| + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
| + <meta charset="utf-8"> | ||
| + <link rel="stylesheet" type="text/css" href="tour.css"> | ||
| + </head> | ||
| + <body> | ||
| + <div class="header"><a class="page-next" href="summary.html">Next</a></div> | ||
| + <hr><iframe id="page" src="index.xml" width="100%" height="100%" frameborder="0"></iframe></body> | ||
| +</html> |
| <?xml version="1.0"?> | ||
| <pages> | ||
| - <page page="index" next="summary"/> | ||
| - <page page="summary" prev="index" next="proposal"/> | ||
| - <page page="proposal" prev="summary" next="resources"/> | ||
| - <page page="resources" prev="proposal" next="hypothesis"/> | ||
| - <page page="hypothesis" prev="resources" next="discuss"/> | ||
| - <page page="discuss" prev="hypothesis" next="support"/> | ||
| - <page page="support" prev="support" next="account"/> | ||
| - <page page="account" prev="support"/> | ||
| + <page file="index"/> | ||
| + <page file="summary"/> | ||
| + <page file="proposal"/> | ||
| + <page file="resources"/> | ||
| + <page file="hypothesis"/> | ||
| + <page file="discuss"/> | ||
| + <page file="support"/> | ||
| + <page file="account"/> | ||
| </pages> | ||
| - | ||
| +<html> | ||
| + <head> | ||
| + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
| + <meta charset="utf-8"> | ||
| + <link rel="stylesheet" type="text/css" href="tour.css"> | ||
| + </head> | ||
| + <body> | ||
| + <div class="header"><a class="page-prev" href="summary.html">Previous</a><a class="page-next" href="resources.html">Next</a></div> | ||
| + <hr><iframe id="page" src="proposal.xml" width="100%" height="100%" frameborder="0"></iframe></body> | ||
| +</html> |
| - | ||
| +<html> | ||
| + <head> | ||
| + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
| + <meta charset="utf-8"> | ||
| + <link rel="stylesheet" type="text/css" href="tour.css"> | ||
| + </head> | ||
| + <body> | ||
| + <div class="header"><a class="page-prev" href="proposal.html">Previous</a><a class="page-next" href="hypothesis.html">Next</a></div> | ||
| + <hr><iframe id="page" src="resources.xml" width="100%" height="100%" frameborder="0"></iframe></body> | ||
| +</html> |
| - | ||
| +<html> | ||
| + <head> | ||
| + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
| + <meta charset="utf-8"> | ||
| + <link rel="stylesheet" type="text/css" href="tour.css"> | ||
| + </head> | ||
| + <body> | ||
| + <div class="header"><a class="page-prev" href="index.html">Previous</a><a class="page-next" href="proposal.html">Next</a></div> | ||
| + <hr><iframe id="page" src="summary.xml" width="100%" height="100%" frameborder="0"></iframe></body> | ||
| +</html> |
| - | ||
| +<html> | ||
| + <head> | ||
| + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
| + <meta charset="utf-8"> | ||
| + <link rel="stylesheet" type="text/css" href="tour.css"> | ||
| + </head> | ||
| + <body> | ||
| + <div class="header"><a class="page-prev" href="discuss.html">Previous</a><a class="page-next" href="account.html">Next</a></div> | ||
| + <hr><iframe id="page" src="support.xml" width="100%" height="100%" frameborder="0"></iframe></body> | ||
| +</html> |
| +<?xml version="1.0"?> | ||
| +<!-- | ||
| + | The MIT License | ||
| + | | ||
| + | Copyright 2014 White Magic Software, Inc. | ||
| + | | ||
| + | Permission is hereby granted, free of charge, to any person | ||
| + | obtaining a copy of this software and associated documentation | ||
| + | files (the "Software"), to deal in the Software without | ||
| + | restriction, including without limitation the rights to use, | ||
| + | copy, modify, merge, publish, distribute, sublicense, and/or | ||
| + | sell copies of the Software, and to permit persons to whom the | ||
| + | Software is furnished to do so, subject to the following | ||
| + | conditions: | ||
| + | | ||
| + | The above copyright notice and this permission notice shall be | ||
| + | included in all copies or substantial portions of the Software. | ||
| + | | ||
| + | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
| + | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | ||
| + | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
| + | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | ||
| + | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
| + | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
| + | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
| + | OTHER DEALINGS IN THE SOFTWARE. | ||
| + +--> | ||
| +<xsl:stylesheet version="2.0" | ||
| + xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | ||
| + | ||
| +<xsl:strip-space elements="*"/> | ||
| + | ||
| +<xsl:output method="text"/> | ||
| +<xsl:output method="html" indent="yes" name="html" encoding="utf-8"/> | ||
| + | ||
| +<xsl:template match="/"> | ||
| + <xsl:apply-templates /> | ||
| +</xsl:template> | ||
| + | ||
| +<xsl:template match="page"> | ||
| +<xsl:result-document href="{@file}.html" format="html"> | ||
| +<html> | ||
| +<head> | ||
| + <meta charset="utf-8" /> | ||
| + <link rel="stylesheet" type="text/css" href="tour.css" /> | ||
| +</head> | ||
| +<body> | ||
| +<div class="header"> | ||
| + <xsl:if test="position() > 1"> | ||
| + <a class="page-prev" href="{preceding-sibling::page[1]/@file}.html">Previous</a> | ||
| + </xsl:if> | ||
| + <xsl:if test="position() < last()"> | ||
| + <a class="page-next" href="{following-sibling::page[1]/@file}.html">Next</a> | ||
| + </xsl:if> | ||
| +</div> | ||
| +<hr /> | ||
| + <iframe id="page" src="{@file}.xml" width="100%" height="100%" frameborder="0"> | ||
| + </iframe> | ||
| +</body> | ||
| +</html> | ||
| +</xsl:result-document> | ||
| +</xsl:template> | ||
| + | ||
| +</xsl:stylesheet> | ||
| + | ||
| a:hover { | ||
| - color: #FF8E00; | ||
| + color: #B93507; | ||
| } | ||
| Author | Dave Jarvis <email> |
|---|---|
| Date | 2014-09-22 17:25:50 GMT-0700 |
| Commit | 98f9ef0c0093604330041506b3736c83827ea3f3 |
| Parent | 0491d80 |
| Delta | 160 lines added, 17 lines removed, 143-line increase |