我试图获得附加到特定数据库的所有森林的总大小.
使用下面的代码我得到了所有单独森林的大小,但坚持如何实现解决方案:
for $db-id in xdmp:databases()
let $db-name := xdmp:database-name($db-id)
for $forests in xdmp:forest-status(xdmp:database-forests(xdmp:database($db-name)))
let $space := $forests//forest:device-space
let $f_name := $forests//forest:forest-name
for $stand in $forests//forest:stands
let $f_size := fn:sum($stand/forest:stand/forest:disk-size)
Run Code Online (Sandbox Code Playgroud) 有没有什么办法可以使用CPF的管道功能将MS-Word和powerpoint数据和元数据转换成xml ..?
提前致谢