[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

href problem

Subject: href problem
From: Narasingarao Kommireddi <Narasingarao.Kommireddi@xxxxxxxxxxxxxxxx>
Date: Mon, 16 Aug 2004 15:58:53 +0530
xsl href
Hi All,


I need to generate barcodes in PDF and hence use XSL Templates found at
http://www.renderx.com

In order to access those XSL templates in my XSL , i write like this
      <xsl:import href="upc-ean.xsl"/>
      <xsl:import href="upc-ean-svg.xsl"/>

Similary , i have GIFs and BMPs that i need to show in my PDF, so i give
the path of them as follows.

 <fo:table-cell display-align="before" text-align="center"
padding-start="3pt" padding-end="3pt" padding-before="3pt"
padding-after="3pt" border-style="solid" border-width="1pt"
border-color="white">
                                        <fo:block>&#160;<fo:inline
color="blue" font-size="7pt">&#160; </fo:inline>
                                            <fo:external-graphic
space-before.optimum="4pt" space-after.optimum="4pt">
                                                <xsl:attribute
name="src">url('<xsl:text
disable-output-escaping="yes">file:///D:\work_sw\cocoon-2.1.5
\build\webapp\CAF\style\xsl\logo.bmp</xsl:text>')</xsl:attribute>
                                            </fo:external-graphic>
                                        </fo:block>
                                    </fo:table-cell>


(I use cocoon for PDF generation)
They work fine on my localbox which is an Windows 2000

But when run on Solaris box, they dont show up. I know for sure that BMPs
and GIFs would work if i change the path on Unix.

But not sure how to get the href's working.

Secondly , how can i set the context path for my application so that i need
not hardcode the Absolute path everytime  , probably someone working on
cocoon could help me out.

Regards,
Rao

Current Thread
  • href problem
    • Narasingarao Kommireddi - 16 Aug 2004 10:19:36 -0000 <=

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.