OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Adding a link insided <funcprototype>

Hi all.

We're transforming XML in to HTML. We're trying to write a C function prototype with the proper tagging to generate an anchor tag for certain parts. For example, in the text

returnType functionName (paramType  *paramName);

we would want <a...> anchor tags with an external URL target to be generated for returnType and paramType. We tried using <link> as shown in the following XML, but the N. Walsh DocBook stylesheets ignore the <link> and no anchor tags gets generated:

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"

   <refsynopsisdiv xmlns:xlink="http://www.w3.org/1999/xlink">
               <funcdef><link xlink:href="url.html#one">returnType</link>
               <paramdef><link xlink:href="url.html#two">paramType</link>

Here is our minimal test stylesheet:

<?xml version='1.0'?>
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
 <xsl:import href=""http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>

What are we missing? Any ideas will be most appreciated.
Kathleen Mattson
Beaverton, Oregon USA

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]