Re: [xslt] Spaces in URI's, revisited



On Monday 06 August 2001 01:27, you wrote:
> On Sun, Aug 05, 2001 at 07:20:09PM -0400, Daniel Veillard 
(veillard@redhat.com) wrote:
> >   If the spaces are escaped with %20 in the URI-References this should
> > work now. If they are not, well the source is broken, you can still try
> > ...
>
> Try this:
>
> xsltproc http://ldsteiner.com/~ld/httptestcase.xsl
> http://ldsteiner.com/~ld/httptestcase.xml
>
> Looking at the .xml file, you can see the url has a %20 in between "Top"
> and "stories", but the output of the transformation shows the source HTML
> for the page that is returned if you just truncate the URI after "Top".

Try this:

<!-- begin of xml -->
<?xml version="1.0"?>
 
<uri>http://p.moreover.com/cgi-local/page?c=Top+stories&amp;o=rss</uri>
<!-- end of xml -->

%20 is for filesystem operations
+ is for URI

Hope that helps

Bernhard Zwischenbrugger




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]