Jump to content

Xquery With Xml


sairfan1

Recommended Posts

hi im learning xml and xquery at w3schoolsi got following code to run xquery, i put this code in my html file, but when i view the page code remain same and shown as it is in browser<ul>{for $x in doc("books.xml")/bookstore/book/titleorder by $xreturn <li>{data($x)}</li>}</ul>as there is not working example at web site like(try it yourself) can any body guide?thanking you in advance

Link to comment
Share on other sites

I actually have no idea what environment xQuery works in, but you can't just use it in the browser.There might be Javascript or PHP libraries that parse xQuery.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...