You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2022/01/31 09:17:11 UTC
[camel-examples] branch main updated: Fix the content of the spring-xquery output file
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-examples.git
The following commit(s) were added to refs/heads/main by this push:
new 4c49949 Fix the content of the spring-xquery output file
4c49949 is described below
commit 4c49949af1264fa7f0394a2ef6fec5a33ff6637c
Author: Nicolas Filotto <nf...@talend.com>
AuthorDate: Mon Jan 31 09:42:35 2022 +0100
Fix the content of the spring-xquery output file
---
examples/spring-xquery/src/main/resources/myTransform.xquery | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/spring-xquery/src/main/resources/myTransform.xquery b/examples/spring-xquery/src/main/resources/myTransform.xquery
index 09aa89b..ee50635 100644
--- a/examples/spring-xquery/src/main/resources/myTransform.xquery
+++ b/examples/spring-xquery/src/main/resources/myTransform.xquery
@@ -15,6 +15,6 @@
limitations under the License.
:)
<employee id="{person/@user}">
- <name>{/person/firstName} {/person/lastName}</name>
- <location>{/person/city}</location>
+ <name>{/person/firstName/text()} {/person/lastName/text()}</name>
+ <location>{/person/city/text()}</location>
</employee>
\ No newline at end of file