[Dclug] enabling this query in html

Johnson, Steve (NIH/OD/ORS) [E] johnsons at vrp.ncrr.nih.gov
Tue Sep 15 14:00:56 EDT 2009


w3Schools has examples - but just placing this in body of an html yields literal text, not the results of the query.

http://www.w3schools.com/xquery/xquery_flwor_html.asp

in particular

<ul>
{
for $x in doc("books.xml")/bookstore/book/title
order by $x
return <li>{$x}</li>
}
</ul>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://calypso.tux.org/pipermail/dclug/attachments/20090915/42689c15/attachment-0004.html 


More information about the Dclug mailing list