This is the mail archive of the
davenport@berkshire.net
mailing list for the Davenport project.
Re: DAVENPORT: The Anchor Element.
- To: davenport@berkshire.net
- Subject: Re: DAVENPORT: The Anchor Element.
- From: Norman Walsh <ndw@nwalsh.com>
- Date: Mon, 21 Jun 1999 10:35:22 -0400
- References: <376E4583.FF02DF21@r-tec.net>
- Reply-To: davenport@berkshire.net
/ kuendgen@r-tec.net was heard to say:
| Hello..
| Ok i got another problem that i cant solve right now.
| <!--================== The Anchor Element
| =================================-->
|
| <!ELEMENT A - - (%text)* -(A)>
| <!ATTLIST A
| %common.atts;
| name CDATA #IMPLIED -- named link end --
| href %URL #IMPLIED -- URL for linked resource --
| rel CDATA #IMPLIED -- forward link types --
| rev CDATA #IMPLIED -- reverse link types --
| title CDATA #IMPLIED -- advisory title string --
| target CDATA #IMPLIED -- target of HREF (frame) --
| >
|
| This is what i find about Anchor
That's a fragment of the HTML DTD, not DocBook. The DocBook Anchor
element is defined like this:
<!ELEMENT Anchor - O EMPTY>
<!ATTLIST Anchor
ID ID #REQUIRED
PageNum CDATA #IMPLIED
--other common atts---
>
| but i dont really understand how to use
| this.Can someone please explain me how to setup
| Anchor in an sgml dockument (docbook) so that they area also useable in
| html after converting.
<para>You can <link linkend="anchorid">link to any anchor</link>
that you want with the <sgmltag>link</sgmltag> element.
</para>.
<para>Like here, between these two<anchor id="anchorid"> words.</para>.
Cheers,
norm
--
Norman Walsh <ndw@nwalsh.com> | We think in generalities, but we
http://www.oasis-open.org/docbook/ | live in detail--Alfred North
Member, DocBook Editorial Board | Whitehead