← Prev in month ← Prev in thread

Unwanted target attribute in a href...

From
K. Mattson - Miller & Mattson <>
Date
2011-10-14T22:11:39+00:00
ID
012c01cc8abe$38586c00$a9094400$@com
Thread
Unwanted target attribute in a href...
Hi all.  Long time listener, first time caller...

 

I developed an online reference system for a programming language which is in a pretty typical frameset: table of contents in a narrow frame on the left side and the reference pages all in the large frame on the right. It’s written to DocBook 4.3 DTD using Norm Walsh’s style sheets from a few years ago.

 

The problem is that when I use the <link> tag to link type names within the <funcsynopsis>, the resulting HTML has an unwanted target attribute to “_top” which of course blows it out of the frame. Any thoughts on how to make it stop adding that target attribute? 

 

(Sample code below)

 

Thanks!

Kathleen

 

THIS XML:

 

<refsynopsisdiv xmlns:xlink="http://www.w3.org/1999/xlink"><title></title>

        <funcsynopsis>

            <funcprototype>

                <funcdef>

                    <link xlink:href="scalarDataTypes.html">short</link>

                    <function>

                        upsample

                    </function>

                </funcdef>

                <paramdef><link xlink:href="">

                <paramdef><link xlink:href="">

            </funcprototype>

        </funcsynopsis>

</refsynopsisdiv>

 

 

RESULTS IN THIS HTML

 

<div class="refsynopsisdiv">

        <h2></h2>

        <div class="funcsynopsis">

          <table xmlns="" border="0" summary="Function synopsis" cellspacing="0" cellpadding="0">

            <tr valign="bottom">

              <td>

                <code xmlns="http://www.w3.org/1999/xhtml" class="funcdef">

                    <a class="link" href="scalarDataTypes.html" target="_top">short</a>

                    <b class="fsfunc">

                        upsample

                    </b>

                (</code>

                <td><a xmlns="http://www.w3.org/1999/xhtml" class="link" href="scalarDataTypes.html" target="_top">char</a> <var xmlns="http://www.w3.org/1999/xhtml" class="pdparam">hi</var>, </td>

              </td>

            </tr>

            <tr valign="top">

              <td> </td>

              <td><a xmlns="http://www.w3.org/1999/xhtml" class="link" href="scalarDataTypes.html" target="_top">uchar</a> <var xmlns="http://www.w3.org/1999/xhtml" class="pdparam">lo</var><code>)</code></td>

            </tr>

          </table>

        </div>

</div>

 

--

Kathleen Mattson     

Technical, Business, & Marketing Communications

www.millermattson.com     (503) 985-6004
← Prev in month ← Prev in thread