Easiest solution is likely to be: put the XPath expression in a 
request-parameter...

Donnu how this effects caching...

Cheers,
Geert

Martynas Jusevicius wrote:

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]




-- ===================================== NB: het Daidalos kantoor is sinds 22 april jl. gevestigd op een nieuw adres:

Daidalos BV
Hoekeindsehof 1 - 4
2665 JZ Bleiswijk
tel: +31 (0)10 850 12 00
fax: +31 (0)10 850 11 99

Bovenstaand adres is tevens het postadres.
======================
[EMAIL PROTECTED]
IT-consultant at Daidalos BV

http://www.daidalos.nl/

GPG: 1024D/12DEBB50

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



Reply via email to