I'm using the xsl:include:
<xsl:include href="includes.xsl"/>
Roman
Narasingarao Kommireddi wrote:
> I fixed that issue, thnx once again. But i am still searching answers to
> my second question
>
> The following statements in my XSL are working fine on windows 2000 machine
> i.e. href automatically appends the absolute path to the XSL ,but when i do
> the same on unix, it doesnt work. I was wondering if i can set the path in
> sitemap.xmap as u suggested and use it my XSL.
>
> <xsl:import href="upc-ean.xsl"/>
> <xsl:import href="upc-ean-svg.xsl"/>
>
> Is there any other alternative to import if i want to use another XSL in my
> XSL ??
>
> Regards,
> Rao
>
>
> "Derek Hohls"
> <[EMAIL PROTECTED] To: <[EMAIL PROTECTED]>
> a> cc: (bcc: Narasingarao
> Kommireddi/INFOCOMM/RIL)
> Subject: Re: hrefs doesnt work on
> Unix
> 08/17/2004 02:14 Importance: Normal Sender's OU: Reliance
> |------------------|
> PM |
> [ ] Confidential |
> Please respond to
> |------------------|
> users
>
>
>
> Rao
>
> Please note your
>
> <map:component-configurations>
> <global-variables>
> <path>\weblogic\cocoon\cocoon-2.1.5.1-src\cocoon-2.1.5.1
> \build\webapp\CAF\style\xsl\</path>
> </global-variables>
> </map:component-configurations>
>
> must be _outside_ of your first pipeline.
> (Check my last reply again....)
>
> Derek
>
> >>> [EMAIL PROTECTED] 2004/08/17 09:07:16 AM
> >>>
>
> Hi Derek,
>
> Thanks for the tip on encoding paths in sitemap.xmap
>
> But when i give it my sitemap.xmap, cocoon throws the following error.
>
> Failed to load sitemap from
> file:/weblogic/cocoon/cocoon-2.1.5.1-src/cocoon-2.1.5.1
> /build/webapp/CAF/sitemap.xmap
>
> org.apache.cocoon.ProcessingException: Failed to load sitemap from
> file:/weblogic/cocoon/cocoon-2.1.5.1-src/cocoon-2.1.5.1
> /build/webapp/CAF/sitemap.xmap:
> org.apache.avalon.framework.configuration.ConfigurationException:
> Unknown
> element 'component-configurations' at
> file:/weblogic/cocoon/cocoon-2.1.5.1-src/cocoon-2.1.5.1
> /build/webapp/CAF/sitemap.xmap:44:36
>
> cause:
> org.apache.avalon.framework.configuration.ConfigurationException:
> Unknown element 'component-configurations' at
> file:/weblogic/cocoon/cocoon-2.1.5.1-src/cocoon-2.1.5.1
> /build/webapp/CAF/sitemap.xmap:44:36
>
> I am also sending a snippet of my sitemap.xmap.
>
> <map:pipelines>
> <map:pipeline>
>
> <map:component-configurations>
> <global-variables>
> <path>\weblogic\cocoon\cocoon-2.1.5.1-src\cocoon-2.1.5.1
> \build\webapp\CAF\style\xsl\</path>
> </global-variables>
> </map:component-configurations>
>
> <map:match pattern="*.pdf">
> <map:generate src="http://FSDTRG:7007/CAFGen_XMLs/{1}.xml"/>
> <map:transform src="context://CAF/style/xsl/PDFGen_Beta.xsl">
> <map:parameter name="path" value="{global:path}"/>
> </map:transform>
> <map:serialize type="fo2pdf"/>
> </map:match>
>
> Does it have something to do with the the version of cocoon i am using.
> ???
>
> Secondly, the following statements in my XSL are working fine in
> windows
> machine ie href automatically appends the absolute path to the XSL ,
> but
> when i do the same on unix, it doesnt work. I was wondering if i can
> set
> the path in sitemap.xmap as u suggested and use it my XSL.
> <xsl:import href="upc-ean.xsl"/>
> <xsl:import href="upc-ean-svg.xsl"/>
>
> ( I am pretty new to XSL and really confused :-( )
>
> Thanks
> Rao
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> --
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]