Actually, I think you have a common error in using XSLT. In your param with name="admon.graphics.extension", your select statement says select="gif", when the gif should be in single quotes. Otherwise, gif is interprested as an XPath element name, for which it finds none, and so you get no extension.
Bob Stayton Sagehill Enterprises DocBook Consulting [EMAIL PROTECTED] ----- Original Message ----- From: Dishaa To: docbook-apps@lists.oasis-open.org Sent: Thursday, July 12, 2007 5:10 AM Subject: Re: [docbook-apps] Error while recovering Images Hello, Thanks for looking into this. Yes, some additional information that I can provide are: 1. When I run the Docbook.xsl style sheet that was part of the application (in this case Serna), the images are coming fine. 2. In the command that I mention in my first mail, the /home/dganapathy/Fo.xsl refers to the stylesheet that I created that is acting as a customization layer. 3. In my customization layer I specify both <xsl:param name="admon.graphics" select="1"/> and <xsl:param name="admon.graphics.extension" select="gif"/> 4. When I specify the <xsl:param name="draft.watermark.image" select="'/home/dganapathy/images/draft.gif'"></xsl:param>, however, the Draft image appears correctly. 5. In the directory, there is a .png file as well, even that throws the same error message when I don't specify <xsl:param name="admon.graphics.extension" select="gif"/>. 6. This is the actual error message Error while creating area : Error while recovering Image Informations (file:/home/dganapathy/images/note) : /home/dganapathy/images/note (No such file or directory) 7. The file and directory location has not been changed from what it used to be when the images were appearing. From 1 and 2 points above, I feel I could be missing something in my xsl file (maybe include statements?). I am hoping you could let me know what they could be. Thanks a lot, Dishaa An excerpt of my XSL <?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0"> <xsl:import href="/home/dganapathy/Files/stylesheets/docbook-xsl-1.68.1/fo/docbook.xsl"/> <!-- This is a DocBook PDF customization layer. This customization layer is created by Dishaa Ganapathy, Technical Writer, Tangible Value LLC. --> <!-- All stringparam values. --> <xsl:param name="admon.graphics" select="1"/> <xsl:param name="body.font.master" select="12"/> <xsl:param name="admon.graphics.extension" select="gif"/> <xsl:param name="footer.font.size" select="10"/> <xsl:param name="fop.extensions" select="1"/> <xsl:param name="section.autolabel" select="1"/> <xsl:param name="section.label.includes.component.label" select="1"/> <xsl:param name="footers.on.blank.pages" select="0"/> <xsl:param name="default.units" select="'pt'"></xsl:param> <xsl:param name="draft.mode" select="'no'"></xsl:param> <xsl:param name="draft.watermark.image" select="'/home/dganapathy/images/draft.gif'"></xsl:param> <xsl:param name="table.frame.border.color" select="'#7CC2E9'"></xsl:param> <xsl:param name="table.cell.border.color" select="'#7CC2E9'"></xsl:param> <xsl:param name="show.comments">1</xsl:param> <xsl:param name="header.image.filename" value="TanVal.gif"/> <xsl:param name="header.column.widths">1 1 2</xsl:param> <!-- End of all stringparam values. --> Bob Stayton <[EMAIL PROTECTED]> wrote: Hi, More details are needed. I presume ".../..." here refers to some actual path information. Can you provide that information, as well as the actual path to the image file? Are you using an admon.graphics.path parameter? Normally the note element's graphic is "note.png", not Note.gif. Are you specifying admon.graphics.extension? I'm not clear how "note" is becoming "Note" though. Bob Stayton Sagehill Enterprises DocBook Consulting [EMAIL PROTECTED] ----- Original Message ----- From: Dishaa To: docbook-apps@lists.oasis-open.org Sent: Tuesday, July 10, 2007 8:59 AM Subject: [docbook-apps] Error while recovering Images HI All, I am getting the following error while trying to have a image next to Note. Error while recovering Image Informations (file:/.../.../Note.gif) : /.../.../Note.gif (No such file or directory). This same image was printing just fine sometime ago. I use FOP. Commands to create the .fop file xsltproc --xinclude --output RepGuide.fo /home/dganapathy/Fo.xsl Report_Publishing_UsersGuide_V06.xml Command to create the .pdf file /u01/localapp/fop/product/fop-0.20.5/fop.sh -fo RepGuide.fo -pdf RepGuide.pdf Can anyone tell me what is happening. Due to this issue images on the header are not appearing either! Thanks, DIshaa -------------------------------------------------------------------------- Get the Yahoo! toolbar and be alerted to new email wherever you're surfing. ------------------------------------------------------------------------------ Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. Dishaa Ganapathy 215 North Ave, NE Atlanta, GA 30308 Tel: 678-925-2072|Email: [EMAIL PROTECTED] "The real voyage of discovery consists not in seeking new landscapes, but in having new eyes." - Marcel Proust ------------------------------------------------------------------------------ Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.