You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Alex Romayev <ro...@yahoo.com> on 2003/03/25 04:36:52 UTC

Using parameterised URL in FileGenerator

Hi,

I'm running into problems trying to use FileGenerator
go get XML via a parameterised URL.

The following is invalid XML:

<map:generate
src="http://foo.com?param1=x&param2=y&param3=z"/>

and the following is not the right URL:

<map:generate
src="http://foo.com?param1=x&amp;param2=y&amp;param3=z"/>

Any ideas?

Thanks,
-Alex


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Re: Using parameterised URL in FileGenerator

Posted by Alex Romayev <ro...@yahoo.com>.
Never mind, I had a space in my URL -- just like
publicly talking to myself ;)

--- Alex Romayev <ro...@yahoo.com> wrote:
> It didn't come out quite clearly on the email, but
> the
> basic point is that if I use "&", it's not valid
> XML,
> and if I substitute it with "&amp;" the URL is
> incorrect.
> 
> --- Alex Romayev <ro...@yahoo.com> wrote:
> > Hi,
> > 
> > I'm running into problems trying to use
> > FileGenerator
> > go get XML via a parameterised URL.
> > 
> > The following is invalid XML:
> > 
> > <map:generate
> > src="http://foo.com?param1=x&param2=y&param3=z"/>
> > 
> > and the following is not the right URL:
> > 
> > <map:generate
> >
>
src="http://foo.com?param1=x&amp;param2=y&amp;param3=z"/>
> > 
> > Any ideas?
> > 
> > Thanks,
> > -Alex
> > 
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail:
> > cocoon-users-help@xml.apache.org
> > 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> cocoon-users-help@xml.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Re: Using parameterised URL in FileGenerator

Posted by Alex Romayev <ro...@yahoo.com>.
It didn't come out quite clearly on the email, but the
basic point is that if I use "&", it's not valid XML,
and if I substitute it with "&amp;" the URL is
incorrect.

--- Alex Romayev <ro...@yahoo.com> wrote:
> Hi,
> 
> I'm running into problems trying to use
> FileGenerator
> go get XML via a parameterised URL.
> 
> The following is invalid XML:
> 
> <map:generate
> src="http://foo.com?param1=x&param2=y&param3=z"/>
> 
> and the following is not the right URL:
> 
> <map:generate
>
src="http://foo.com?param1=x&amp;param2=y&amp;param3=z"/>
> 
> Any ideas?
> 
> Thanks,
> -Alex
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> cocoon-users-help@xml.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org