This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] XHTML usage
- From: Tristan Fiedler <fiedler at cshl dot edu>
- To: Docbook-Apps <docbook-apps at lists dot oasis-open dot org>
- Date: Tue, 1 Feb 2005 19:01:17 -0500
- Subject: [docbook-apps] XHTML usage
Note : This post is primarily XHTML but relates to DocBook XML.
I am setting up an online book using DocBook XML. To create a wrapper
website for the chapters, I was initially using "vanilla" html, but
have migrated to xhtml :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
1. Does a user friendly website exist which shows allowed
nesting/parents/children for this xhtml?
I'm looking for something similar to :
http://www.docbook.org/tdg5/en/html/docbook.html
Currently I'm using :
http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Transitional
2. How can I properly nest an <h2> within an <a>?
allowed: <a name="chapterlist"><big>My Text</big></a>
disallowed : <a name="chapterlist"><h2>My Text</h2></a>
Thank you, Tristan
------------------------------
Tristan J. Fiedler
Cold Spring Harbor Laboratory