This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] Re: page-specific footer for chunked output


> * Bob Stayton <obof@fntruvyy.arg> [2005-02-03 00:10:25 -0800]:
>
> Your "bookinfo/subtitle" path is taken relative to the current context
> node, which is the current chunk being processed.
> That should probably be "//bookinfo/subtitle".

why not "/book/bookinfo/subtitle"?

also, this strips out all the formating I have in the subtitle.
e.g., "<subtitle>foo <emphasis>bar</emphasis> baz</subtitle>"
is printed by 

 <xsl:if test="//bookinfo"><div class="bookinfo">
   <hr width="100%"/><table width="100%">
    <th><td align="left"><xsl:value-of select="//bookinfo/subtitle"/></td>
     <td align="right"><xsl:value-of select="//bookinfo/date"/></td></th>
 </table></div></xsl:if>

as "<td>foo bar baz</td>" and not "<td>foo <em>bar</em> baz</td>"
why?

Thanks for your help!

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
The plural of "anecdote" is not "data".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]