Hm, what exactly do you mean? Substitute // with /* and switch back later? But /* has it's own meaning and can also occur in the URL, how could I tell if it needs to be replaced or not? Of course, I could come up with some different substituotion, but these URLs come directly from links in HTML, and having some non-standard syntax variation is not a good option.
I mean, can I force Cocoon to pass me the match "as is", leaving it unchanged even if there are several slashes in a row? That would solve everything. I don't really understand why it is functioning like that. On 5/5/05, oceatoon <[EMAIL PROTECTED]> wrote: > Martynas Jusevicius wrote: > > > I have <map:match pattern="**"> in my sitemap. Also, I'm trying get > > XPath URLs working. Therefore slashes in the URL matter much, for > > example: > > host.com/context/something/* > > is different from > > host.com/context/something//* > > Instead, Cocoon treats all repeated slashes as one, which obviously > > doesn't fit me. > > I was thinking, maybe that's some default URL or HTTP behavior, but > > looks like other similar implementation didn't have this problem: > > > http://www.xmldatabases.org/WK/blog/1031_How_do_you_manage_documents_in_the_database%3F.item > > So what should I do? Thanks in advance. > > > > Martynas Jusevicius > Why not change syntax // by /* and reinterpret it just before your xpath > query or do replace . > > Tibor --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
