On Sunday, March 30, 2003, at 02:20 PM, Geoff Howard wrote:
But the mechanism they use to translate a to b still seems analogous. Even if (IIRC) you don't want to do this at transform time. Maybe it's analogous but not useful.
OK, I take your point ;) I'll have another look, to see if it offers yet another solution.
But my first question still stands .... did we work out a method whereby dynamic sitemap variables can be passed to input modules?
<snip/>
-----Original Message----- From: Jeremy Quinn [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 12:33 PM To: [EMAIL PROTECTED] Subject: input modules
Hi All
Is it possible to use a value from a matcher in an input module?
(I asked about this a while ago, there was some interest, but I don't
remember what was resolved).
I need to take a URL coming into a Sitemap, pass it to an input module
and use the returned value in the @src of a generator. ie. I am using
an XML file to 'translate' URLs.
<snip/>
With a pipeline like this:
<map:match pattern="*"> <map:generate src="{linkmap:{1}}"> ??????? etc. </map:match>
How do you pass the "{1}" into the input module that will look up the
URL (using XPath) in the LinkMap?
regards Jeremy