Does the doc()//item/... expression return anything? I expect a namespace issue 
here...

Cheers

Dannes


--
www.exist-db.org

> On 21 Jun 2015, at 17:15, Leo Studer <[email protected]> wrote:
> 
> Hello
> 
> I tried the following
> 
> declare variable $feed := 
> doc("http://www.meteotest.ch/meteotest-extras/rss/rss-sio.xml";)//item/description/string();
> 
> <html>
> <body>{
> parse-xml-fragment($feed)/*}
> </body>
> </html>
> 
> to use the weather infos from this feed.
> Unfortunately parse-xml-fragment($feed) does not work since & is used in a 
> URL. Is there a easy way to do that?
> 
> Thanks in advance
> Leo
> _______________________________________________
> [email protected]
> http://x-query.com/mailman/listinfo/talk
_______________________________________________
[email protected]
http://x-query.com/mailman/listinfo/talk

Reply via email to