Hello Hussein, is it possible that you delete
http://www.mail-archive.com/[email protected]/msg04622.html My company email address is in it and should not be public Thanks! Geert-Jan -------------------------------------------------- From: "Hussein Shafie" <[email protected]> Sent: Thursday, February 05, 2009 5:52 PM To: "Geert-Jan Gorter" <[email protected]> Cc: <[email protected]> Subject: Re: [XXE] PDF output with image in pageheader? > Your question seems to be about customizing the DocBook XSL style > sheets. If this is really the case, we cannot help you because this is > out of the scope of this mailing list. > > However, if your question is about the integration of your customization > in XMLmind XML Editor, we'll gladly answer it. > > In such case, the simplest is to send me an XSL style sheet of yours > importing the stock fo/docbook.xsl (see "Writing a customization layer" > http://www.sagehill.net/docbookxsl/CustomMethods.html#WriteCustomization), > plus your logo. > > Before doing that, please test this style sheet outside XMLmind XML > Editor, for example using the FOP or XEP command-line. > > After I receive a *working* XSL style sheet, I'll explain you step by > step how to integrate it in XMLmind XML Editor. > > Geert-Jan Gorter wrote: >> >> we are planning to buy XMLMind to standardize our documentation, but >> first we'd like to have a question (below) answered. >> >> Thanks & regards >> >> Geert-Jan Gorter >> proLOGiT GmbH >> >> ----- Original Message ----- >> *From:* Geert-Jan Gorter <mailto:[email protected]> >> *To:* [email protected] >> <mailto:[email protected]> >> *Sent:* Wednesday, January 14, 2009 10:18 AM >> *Subject:* PDF output with image in pageheader? >> >> >> Dear Sirs, >> >> I can't get an image being displayed in the page header, although the >> next header element is shifted 5 cm, so my template is being processed. >> >> I have pasted into the file "pagesetup.xls" into the header.content >> template: >> >> _________________________________________________ >> >> <xsl:template name="header.content"> >> <xsl:param name="pageclass" select="''"/> >> <xsl:param name="sequence" select="''"/> >> <xsl:param name="position" select="''"/> >> <xsl:param name="gentext-key" select="''"/> >> <fo:block> >> <xsl:choose> >> .... >> <xsl:when test="$position='center'"> >> <fo:external-graphic content-height="5cm"> >> <xsl:attribute name="src"> >> <xsl:call-template >> name="fo-external-image"> >> <xsl:with-param >> name="filename" select="'graphics/companylogo.png'"/> >> </xsl:call-template> >> </xsl:attribute> >> </fo:external-graphic> >> </xsl:when> >> >> .... >> >> </xsl:choose> >> </fo:block> >> </xsl:template> >> ________________________________ >> >> The graphic file companylogo.png' is in the directory relative to my >> origin docbook xml (but I also tried absolute paths) >> >> Why is the image not shown? >> >> >> Thanks & Regards >> >> Geert-Jan Gorter > -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

