This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]