[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: places where <anchor> should be permitted
Anchor is currently defined in TDG as: "An anchor identifies a single spot in the content. This may serve as the target for a cross reference, for example, from a Link <http://www.docbook.org/tdg/en/html/link.html>. The Anchor <http://www.docbook.org/tdg/en/html/anchor.html> element may occur almost anywhere. Anchor <http://www.docbook.org/tdg/en/html/anchor.html> has the Role attribute and all of the common attributes <http://www.docbook.org/tdg/en/html/ref-elements.html#common.attributes> except Lang." The HTML spec, defines this specific use: <>"When the name <http://www.w3.org/TR/REC-html40/struct/links.html#adef-name-A> or id <http://www.w3.org/TR/REC-html40/struct/global.html#adef-id> attributes of the A <http://www.w3.org/TR/REC-html40/struct/links.html#edef-A> element are set, the element defines an anchor that may be the destination of other links." ... "Each A <http://www.w3.org/TR/REC-html40/struct/links.html#edef-A> element defines an anchor 1. The A <http://www.w3.org/TR/REC-html40/struct/links.html#edef-A> element's content defines the position of the anchor. 2. The name <http://www.w3.org/TR/REC-html40/struct/links.html#adef-name-A> attribute names the anchor so that it may be the destination of zero or more links (see also anchors with id <http://www.w3.org/TR/REC-html40/struct/links.html#anchors-with-id>). 3. The href <http://www.w3.org/TR/REC-html40/struct/links.html#adef-href> attribute makes this anchor the source anchor of exactly one link." The anchor can only appear in the body (and any valid element therein) of an html document, but not the head. A title attribute may be set to add information about the nature of the anchor. It looks like anchor should be allowed in most block-level and inline-level elements, except for <articleinfo> and <article><title>. From what I can tell, it looks like DocBook 4.3 does define anchor in all of these locations, including the <th> and <td> in the recently added HTML table model. Since Simplified 1.1 is built on 4.3, I think it is safe to assume that anchor is also defined properly there. Best regards, -- Scott ======================================================================== Scott Hudson XML Architect/Knowledge Model Specialist Sun Microsystems, Inc. CNS Interoperability and Standards 500 Eldorado Blvd. Phone:(303) 272-7661 MS:UBRM05-203, Office: 2309 x77661 Broomfield, CO 80021 FAX: (303) 272-9603 Knowledge is power. Sharing is empowerment. http://blogs.sun.com/roller/page/shudson310/
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]