From: Kenny C. <kyc...@ya...> - 2003-02-09 03:51:43
|
Hi, I'd like to get a document from a collection dynamically according to a request-parameter, like below, but it doesn't work and the error message is saying "xpath cannot contain the '<' character." Please note that replacing '<' with < doesn't work either. Any workaround? <xsp:page xmlns:..> <document> <xmldb:collection uri="xmldb:exist:///db" ...> <xmldb:execute xpath="collection('/db/app/<xsp:expr>request.getParameter("groupID")</xsp:expr>', false)"> <xmldb:results pos="0" count="10" collection="/db/app"> <xmldb:get-xml/> </xmldb:results> </xmldb:execute> </xmldb:collection> </document> </xsp:page> ========================== Regards, Kenny __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |