cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <>
Subject Re: hrefs doesnt work on Unix
Date Mon, 16 Aug 2004 13:02:39 GMT

I am not sure about the Solaris issue... but for encoding
paths, what I use is:


       <!--+ Define global parameters here:     
           | You can access them by {global:*name*}, e.g.
           | These values are inherited into sub-sitemaps and can
           | be extended there.


    <map:match pattern="test">
      <map:generate src="test.xml"/>   
      <map:transform src="test.xsl">
        <map:parameter name="path" value="{global:path}"/> 


You then access the "path" parameter in your stylesheet
in the usual way...


>>> 2004/08/16 02:16:26 PM

Hi All,

I need to generate barcodes in PDF and hence use XSL Templates found

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"/>
The above XSLs lie in the same folder as my XSL

Similary , i have GIFs and BMPs that i need to show in my PDF, so i
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"
color="blue" font-size="7pt">&#160; </fo:inline>
space-before.optimum="4pt" space-after.optimum="4pt">

(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
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
not hardcode the Absolute path everytime  , probably someone working
cocoon could help me out.


To unsubscribe, e-mail: 
For additional commands, e-mail: 

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message