首页 文章

XQuery中的二进制数据到文本/字符串

提问于
浏览
0

当xml通过MLC(消息格式语言)从xml转换为二进制时,它在Oracle Service Bus的日志中如下所示 .

<soap-env:Body xmlns:soap-env = 
    "http://schemas.xmlsoap.org/soap/envelope/">
  <ctx:binary-content 
    ref="cid:69b63814:144d49f1544:-6cba" 
    xmlns:ctx="http://www.bea.com/wli/sb/context"/>  
</soap-env:Body>

任何正文都可以告诉我如何在Xquery或OSB中以文本/字符串形式打印此日志 . 我可以使用xquery的任何功能或方法吗?

2 回答

  • 0

    使用java调出来转换它 .

  • 0

    为了转换二进制编码的字符串,BaseX具有XQuery函数

    convert:binary-to-string($binstring)
    

    与http-requests的输出结合使用 .

相关问题