생성 된 오류 로그에서 정교한 검색 응용 프로그램을 만들 수 있는지 궁금합니다. 마찬가지로 예를 들어 -이것이 좋은 생각인지 모르지만 xdmp에 의해 반환 된 변수에 ErrorLog.txt 파일을 저장할 수 있습니까? http-get?
xquery version "1.0-ml";
let $xyz := xdmp:http-get("http://xyz:8001/get-error-log.xqy?filename=ErrorLog_1.txt",
<options xmlns="xdmp:http">
<authentication method="digest">
<username>xyz</username>
<password>[email protected]</password>
</authentication>
</options>) return $xyz
쿼리 콘솔은 추락하지만 스크립트를 작성하면 실행? 다른 응용 프로그램이나 언어를 사용하지 않고이 작업을 수행하는 가장 좋은 방법은 무엇일까요?