Hi

You can use :

<map:pipelines>
        <map:component-configurations>
        <!-- global-variables is used like a configuration file -->
                <global-variables>
                        <distantDirectory>/home/foo</distantDirectory>
                </global-variables>
        </map:component-configurations>
...


        <map:generate src="{global:distantDirectory}/myXmlFile.xml" 
type="file"/>


André


Le 03/06/2008 13:49, > jantje (par Internet, dépôt [EMAIL PROTECTED]) a écrit :
Hi there,

    <map:pipeline>
      <map:match pattern="myFirstPipeline">
        <map:generate src="myXmlFile.xml" type="file"/>
        <map:serialize type="xml"/>
      </map:match>

The file above, myXmlFile.xml is in a different directory. F.i:
/mnt/sdLacie/source/xml/myXmlFile.xml while the sitemap is in
/home/jan/cocoon/project/../sitemap.xmap

In the sitemap, multiple files in the distant /mnt directory will be
adressed. is there a way to define a kind of variable in the sitemap, f.i.:


        <map:generate src="{$distantDirectory}/myXmlFile.xml" type="file"/>

Thanks for your help!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to