Hi,
That section failed to mention that if you add attributes in the xlink
namespace, then you need to add the xlink namespace declaration in your
document. That is most easily done on the root element, so that it applies
to the whole document:
<book xmlns:xlink=http://www.w3.org/1999/xlink etc.
I'll add that to the next edition of the book.
Bob Stayton
Sagehill Enterprises
[email protected]
----- Original Message -----
From: "Robert Nagle" <[email protected]>
To: <[email protected]>
Sent: Tuesday, December 08, 2009 11:55 AM
Subject: [docbook-apps] how to link to a URL?
I am trying to mention a URL in a paragraph for a Docbook 5 file.
Following the example from the Docbook XSL book
http://www.sagehill.net/docbookxsl/Db5Tools.html#Db5LinkExamples , I
tried this:
<para> For more information go to
<link xlink:href="http://www.google.com"> </link></para>
Also I tried this:
<para> For more information go to
<link xlink:href="http://www.google.com">google
</link></para>
In the latest version of Oxygen I get an error when it tries to validate:
SystemID: C:\Documents and Settings\robert\My Documents\xml\myguide.xml
Engine name: Jing
Severity: fatal
Description: The prefix "xlink" for attribute "xlink:href" associated
with an element type "link" is not bound.
Start location: 76:72
This happens even if
Any idea what is going on? For my purposes I plan to output both in
pdf and html.
--
Robert Nagle
htpt://www.robertnagle.info
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]