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]