You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Glen Tulin <gl...@iteclectic.com> on 2005/07/24 23:12:27 UTC

accessing external config files in the custom sitemap

I need to access external config files within my custom sitemap.xmap -- 
either forrest.properties or skinconf.xml.

   <map:pipeline>
    <map:match pattern="my_pattern.xml">
     <map:generate src="my.xml"/>
     <map:transform src="{project:resources.stylesheets}/my-to-doc.xsl">
         <map:parameter name="my_parameter_for_my_xsl" value="xxx"/>
     </map:transform>
     <map:serialize type="xml"/>
    </map:match>
   </map:pipeline>

What should I have instead of xxx in order to get parameter from either 
forrest.properties or skinconf.xml?

Thank you


Re: accessing external config files in the custom sitemap

Posted by Ross Gardler <rg...@apache.org>.
Glen Tulin wrote:
> I need to access external config files within my custom sitemap.xmap -- 
> either forrest.properties or skinconf.xml.

Please do not post the same message to user and dev lists. All devs 
suvbscribe to both lists. This is a user question, I have responded on 
that list.

Ross