This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Website XSL bug? my goofup?
- To: DocBook-Apps ML <docbook-apps at lists dot oasis-open dot org>
- Subject: DOCBOOK-APPS: Website XSL bug? my goofup?
- From: madhu <bmadi_1 at yahoo dot com>
- Date: Fri, 15 Dec 2000 13:53:25 +0530
Hello
with norman's website XSL the page one (home page) correctly gets processed but
in the subsequent pages (webpages) gets mucked up like this
my XML for webpages
--------------snip---------------------------
<webpage id="securing">
<config param="rcsdate" value="$Date: 2000/11/03 13:01:34 $"/>
<config param="filename" value="secopt.html"/><head>
<title>Securing and Optimizing Linux</title>
<summary>The book about Linux in general and in particular about RedHat distro</summary>
</head>
<sect1>
<title>Securing and Optmizing Linux</title>
<para>Securing and optimizing Linux; </para>
<webtoc/>
</sect1>
</webpage>
------------------------------------snip-------------
and the HTML output:
------------------------------------snip---------
<!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="generator" content="HTML Tidy, see www.w3.org">
<meta http-equiv="Content-Type" content=
"text/html; charset=iso-8859-1">
<meta name="generator" content="Website XSL Stylesheet V1.7">
<title>Securing and Optimizing Linux</title>
<link rel="stylesheet" href="example.css" type="text/css">
<style type="text/css">
h2.c3 {clear: all}
</style>
</head>
<body>
<div id="securing" class="webpage"><a name="securing"></a>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="220" valign="top" align="left">
<p class="navtoc"><a href="index.html"><img src=
"graphics/finwbtst-b.gif" alt="Banner" align="left" border="0">
</a><br clear="all">
<br>
<span><span class="xnavtoc">>Securing and
Optimizing Linux</span><br>
</span><br>
</p>
</td>
<td bgcolor="white"> </td>
<td align="left" valign="top" bgcolor="white">
<h1>Securing and Optimizing Linux</h1>
<div id="c41b1b2b4" class="sect1">
<div class="titlepage">
<h2 class="title c3"><a name="c41b1b2b4"></a><span class=
"title">Securing and Optmizing Linux</span></h2>
</div>
</body>
</html>
-------------------------------------snip------------
if one analyses the HTML, the markup <title></title> in XML within the
<head></head> , element shows up as <h1></h1> in HTML ;-( and this
doesn't happen with the homepage . and if i have a
<sect1><title></title></sect1> with the same heading it shows up as two
headings ooops!
my mistake in markup? goofup or is it a bug?
any fix, help......
also what is <webtoc/> doing there, i couldn't figure that one out ( i can't
figure out a lot of things ;-)) , i guess ) thanks in advance
regards
have fun but do take care
maddy