Leo Studer
2015-06-21 16:15:01 UTC
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
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