Yes, this would be the expected result, however the proposed solution does not work here.
> On 21.06.2015, at 18:22, William Candillon <[email protected]> wrote: > > And the result serialized as html: > http://tryzorba.28.io/query.jq?id=KZc4M47%2BQ948k2%2FR8GneS%2BtP%2Fgs%3D&format=html > > On Sun, Jun 21, 2015 at 6:22 PM, William Candillon <[email protected]> > wrote: >> Have you considered parsing the description as html? >> Here's an example with Zorba: >> http://try-zorba.28.io/queries/xquery/KZc4M47%2BQ948k2%2FR8GneS%2BtP%2Fgs%3D >> >> On Sun, Jun 21, 2015 at 6:15 PM, 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 _______________________________________________ [email protected] http://x-query.com/mailman/listinfo/talk
