You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Pier Paolo Bortone <pi...@netengineering.it> on 2001/04/23 11:34:49 UTC

page section links

Hi,

I've tried to point to a section of my page. 
I've wrote
...../file.xml#section1?param1=value1

but in my xsl page the params are lost.

If I remove the #section1 part

..../file.xml?param1=value1

then all works fine but I don't obtain the result that I wish.

How can I obtain the wished result?

Thanks for your time.

Pier Paolo.

Re: page section links

Posted by Pier Paolo Bortone <pi...@netengineering.it>.
----- Original Message ----- 
From: "Stefan Lettmayer" <sl...@twix.sharkman5.2y.net>
To: <co...@xml.apache.org>
Sent: Monday, April 23, 2001 11:58 AM
Subject: Re: page section links


> On Mon, Apr 23, 2001 at 11:34:49AM +0200, Pier Paolo Bortone wrote:
> > Hi,
> > 
> > I've tried to point to a section of my page. 
> > I've wrote
> > ...../file.xml#section1?param1=value1
> 
> have you tried to escape the # with \# ??

I've tried to write url manually too.

I think that the problem is another.

Have you used an url with section and param like above?

> 
> I use Cocoon 2 und it works without escaping.
> 
> 
> -- 
> Stefan Lettmayer
> Web: http://sharkman5.2y.net/
> ICQ: 67167870
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: page section links

Posted by Stefan Lettmayer <sl...@twix.sharkman5.2y.net>.
On Mon, Apr 23, 2001 at 11:34:49AM +0200, Pier Paolo Bortone wrote:
> Hi,
> 
> I've tried to point to a section of my page. 
> I've wrote
> ...../file.xml#section1?param1=value1

have you tried to escape the # with \# ??

I use Cocoon 2 und it works without escaping.


-- 
Stefan Lettmayer
Web: http://sharkman5.2y.net/
ICQ: 67167870

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: page section links

Posted by Pier Paolo Bortone <pi...@netengineering.it>.
thanks, thanks, thanks!!!

----- Original Message ----- 
From: "Fernando Padilla" <fe...@interdimensions.com>
To: <co...@xml.apache.org>
Sent: Monday, April 23, 2001 4:40 PM
Subject: Re: page section links


> 
> you have to reorder the anchor and query string sections...
> 
> 
> the anchor ( everything after the # ) is for the browser/client, so it
> till keep it for itself, and send everything behind it to the server.
> 
> the query string ( everything after the ? ) is then interpreted by
> the server as parameters...  but browser is not sending the query string
> because it thinks that it's part of its anchor...
> 
> 
> ....../file.xml?param=value#section1
> 
> fern
> 
> 
> 
> On Mon, 23 Apr 2001, Pier Paolo Bortone wrote:
> 
> > Hi,
> >
> > I've tried to point to a section of my page.
> > I've wrote
> > ...../file.xml#section1?param1=value1
> >
> > but in my xsl page the params are lost.
> >
> > If I remove the #section1 part
> >
> > ..../file.xml?param1=value1
> >
> > then all works fine but I don't obtain the result that I wish.
> >
> > How can I obtain the wished result?
> >
> > Thanks for your time.
> >
> > Pier Paolo.
> >
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: page section links

Posted by Fernando Padilla <fe...@interdimensions.com>.
you have to reorder the anchor and query string sections...


the anchor ( everything after the # ) is for the browser/client, so it
till keep it for itself, and send everything behind it to the server.

the query string ( everything after the ? ) is then interpreted by
the server as parameters...  but browser is not sending the query string
because it thinks that it's part of its anchor...


....../file.xml?param=value#section1

fern



On Mon, 23 Apr 2001, Pier Paolo Bortone wrote:

> Hi,
>
> I've tried to point to a section of my page.
> I've wrote
> ...../file.xml#section1?param1=value1
>
> but in my xsl page the params are lost.
>
> If I remove the #section1 part
>
> ..../file.xml?param1=value1
>
> then all works fine but I don't obtain the result that I wish.
>
> How can I obtain the wished result?
>
> Thanks for your time.
>
> Pier Paolo.
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>