Permalink
Browse files

Fixed web DTD.

  • Loading branch information...
1 parent 5adb614 commit c5e4f9efd97cf1c11879550e1662d1c7779e9b73 cbeust committed Mar 22, 2010
Showing with 54 additions and 0 deletions.
  1. +8 −0 testng-1.0.dtd.html
  2. +46 −0 testng-1.0.dtd.php
View
8 testng-1.0.dtd.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html>
+ <head>
+ <META HTTP-EQUIV=REFRESH CONTENT="0; URL=http://testng.org/testng-1.0.dtd.php">.
+ </head>
+
+<body />
View
46 testng-1.0.dtd.php
@@ -0,0 +1,46 @@
+<?
+
+print '<html><head><title>Generate title</title>
+
+ <link rel="stylesheet" href="testng.css" type="text/css" />
+ <link type="text/css" rel="stylesheet" href="http://beust.com/beust.css" />
+ <script type="text/javascript" src="http://beust.com/prettify.js"></script>
+ <script type="text/javascript" src="banner.js"></script>
+
+ <script type="text/javascript" src="http://beust.com/scripts/shCore.js"></script>
+ <script type="text/javascript" src="http://beust.com/scripts/shBrushJava.js"></script>
+ <script type="text/javascript" src="http://beust.com/scripts/shBrushXml.js"></script>
+ <script type="text/javascript" src="http://beust.com/scripts/shBrushBash.js"></script>
+ <script type="text/javascript" src="http://beust.com/scripts/shBrushPlain.js"></script>
+ <link type="text/css" rel="stylesheet" href="http://beust.com/styles/shCore.css"/>
+ <link type="text/css" rel="stylesheet" href="http://beust.com/styles/shThemeCedric.css"/>
+ <script type="text/javascript">
+ SyntaxHighlighter.config.clipboardSwf = "scripts/clipboard.swf";
+ SyntaxHighlighter.defaults["gutter"] = false;
+ SyntaxHighlighter.all();
+ </script>
+
+ <style type="text/css">
+ /* Set the command-line table option column width. */
+ #command-line colgroup.option {
+ width: 7em;
+ }
+ </style>
+</head>
+<body>
+
+<h1>
+<p align="center">
+DTD for TestNG
+</p>
+</h1>
+
+<pre class="brush: xml">
+'
+;
+
+print(htmlentities(file_get_contents("testng-1.0.dtd")));
+
+print "</pre>";
+
+?>

0 comments on commit c5e4f9e

Please sign in to comment.