Hi everbody
I've just tested the copysourceaction and it's really fine!
but I've got a problem:
-I want to copy an xml-file, which is in the filesystem
-the file has a standard name, but in that file there is
an element <projectnr>122345</projectnumber>
- I want to store the file in another place under that number (with additional
information)
my problem is: how can I get this data into a parameter which I can use in {} brackets
in the sitemap?
<map:act type="sitemap.copysource" src="cocoon://data/file.xml">
<map:parameter name="dest"
value="cocoon://data/{projectNR}{request:date}.xml"/>
<map:redirect-to uri="xyz"/>
</map:act>
Can I even use an xpath expression in the src attribute of the action like:
<map:act type="sitemap.copysource" src="cocoon://data/file.xml#(some fancy xpath)">
but i guess this is just an coffee-driven insane idea...
thanks in advance for your help
ciao Dominik
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]