无法使用Spring Integration从文档中获取xml节点数

问题描述 投票:0回答:1

我正在尝试使用spring集成int-xml:xpath-header-enricher来获取// Root / Record元素的计数。无论传入的文档是什么,它都会返回零。

我正在尝试使用spring集成int-xml:xpath-header-enricher来获取// Root / Record元素的计数。不管传入的文档如何,它都会归零。

spring spring-boot xpath spring-integration
1个回答
0
投票

您必须这样配置XPath表达式:

© www.soinside.com 2019 - 2024. All rights reserved.