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: Where to keep Logo in DocBook XML for slides?


Hi,

what is best practize to store a logo in an DocBook
XML document.

I thought it was always good to keep an image with its
parent like:

<copyright>
  <year>2006</year>
  <holder>Company A
    <inlinemediaobject>
      <imageobject>
        <imagedata
fileref="images/logo_companyA.png"></imagedata>
      </imageobject>
    </inlinemediaobject>
  </holder>
</copyright>

However when I do so, stylesheets like DocBook Slide's
plain.xsl will print all of <copyright> including the
image. Like in a footer where I only want the
copyright info and not the image in footer's center.

So far I have the problem with:

<fo:table-cell text-align="center">
  <fo:block>
    <xsl:apply-templates
select="ancestor::slides/slidesinfo/copyright"
mode="titlepage.mode"/>
  </fo:block>
</fo:table-cell>

Here all from <copyright> becomes printed including
the logo which I do not want :(

One way to get around this would be, to not put the
image into <copyright> but to keep it separately and
use a static variable. Is that good practize?

How do you store things like a logo in your DocBook
XML? 

Regards,
Darya


	

	
		
___________________________________________________________ 
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de


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