[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] how to link to a URL?
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 bobs@sagehill.net ----- Original Message ----- From: "Robert Nagle" <idiotprogrammer@gmail.com> To: <docbook-apps@lists.oasis-open.org> 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: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]