Skip to content
Snippets Groups Projects
Commit 104eceba authored by Goik Martin's avatar Goik Martin
Browse files

Moving towards complexity

parent 3683bd3f
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?>
<x:description xmlns:x="http://www.jenitennison.com/xslt/xspec"
stylesheet="book2html.xsl">
<x:description stylesheet="book1ToHtml.xsl"
xmlns:x="http://www.jenitennison.com/xslt/xspec">
<x:scenario label="Testing 'title' being immediate child of 'book'">
......
<?xml version="1.0" encoding="UTF-8"?>
<x:description xmlns:x="http://www.jenitennison.com/xslt/xspec"
stylesheet="book2html.xsl">
<x:description stylesheet="book2ToHtml.xsl"
xmlns:x="http://www.jenitennison.com/xslt/xspec">
<x:import href="../Book1/bookBasicTest.xspec" />
<x:import href="../Book1/book1Test.xspec" />
<x:scenario label="Testing @id in 'chapter'">
......
......@@ -5,11 +5,11 @@
</head>
<body id="top">
<h1>Beginning XSL</h1>
<h2 id="firstChapter">Basic structure</h2>
<h2 id="firstChapter">Basic structure</h2>
<p>An XSLT consists of a stylesheet declaration and a set of templates.</p>
<p>Do <em>not forget</em>: template elements must not be nested!</p>
<h2>Important elements</h2>
<p id="someText">Some more text.</p>
<p id="someText">Basic information on XML.</p>
<p>The <a href="#firstChapter">first chapter</a> explains <em>basic</em> structures.</p>
</body>
</html>
<?xml version="1.0" encoding="UTF-8"?>
<book xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
id="top" xsi:noNamespaceSchemaLocation="book2.xsd">
<title>Beginning XSL</title>
<title>Beginning <link linkend="someText">XSL</link></title>
<chapter id="firstChapter">
<title>Basic <link linkend="someText">XML</link> structure</title>
<para>An XSLT consists of a stylesheet declaration and a set of templates.</para>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment