cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Robson <glen.rob...@llgc.org.uk>
Subject Re: Accessing an XML file through http Basic Authentication
Date Fri, 15 Feb 2008 15:14:56 GMT
Thanks Andrew that worked great.

Cheers

Glen

Andrew Savory wrote:
> Hi Glen,
>
> On 15/02/2008, *Glen Robson* <glen.robson@llgc.org.uk 
> <mailto:glen.robson@llgc.org.uk>> wrote:
>
>     <map:match pattern="object/*">
>           <map:generate src="http://<host>:<port>/get/{1}/mets/"/>
>           <map:transform src="stylesheets/show_object.xsl" >
>                 <map:parameter name="use-request-parameters"
>     value="true"/>
>           </map:transform>
>           <map:serialize type="html"/>
>     </map:match>
>
>     The XML is located on another server and is accessed using a URL.
>
>
> You could try:
>
> <map:generate src="http://user:pass@host:port/get/{1}mets/ 
> <http://user:pass@host:port/get/%7B1%7Dmets/>"/>
>
>
> Andrew.

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


Mime
View raw message