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: 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>

 

--

cid:image001.png@01CB49E8.2E531BF0

Kathleen Mattson     kathleen@millermattson.com

Technical, Business, & Marketing Communications

www.millermattson.com     (503) 985-6004

Twitter LinkedIn

 



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