开发者

xquery escape a bracket

how do i grab a file accross the network with brackets in the name? i.e.

fn:doc("file:////machine/folder/folder2/fi[le]1.xml")

fn:encode-for-uri() tries to grab locally

escape-uri function is not开发者_如何转开发 an option because its been dropped.

thanks


ok to prevent from grabbing locally do this

fn:doc(concat("file:/",fn:encode-for-uri("//machine/folder/fi[le]1.xml")));

this prevents from going automatically local

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜