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: Re: [docbook-apps] Unwanted target attribute in a href...

Hi Kathleen,
I think you will need to be a little more specific about the version of the stylesheets.  You mentioned "a few years ago".  Can you determine the version of the stylesheets you are using?  There is a VERSION file in the distribution directory.
Bob Stayton
Sagehill Enterprises
----- Original Message -----
Sent: Friday, October 14, 2011 3:11 PM
Subject: [docbook-apps] 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)







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




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





                <paramdef><link xlink:href="">char</link><parameter>hi</parameter></paramdef>

                <paramdef><link xlink:href="">uchar</link><parameter>lo</parameter></paramdef>








<div class="refsynopsisdiv">


        <div class="funcsynopsis">

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

            <tr valign="bottom">


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

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

                    <b class="fsfunc">




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



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








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]