This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 55e3e08  Fixed doc
55e3e08 is described below

commit 55e3e080ebee084a347503d1538c3c3e4b442704
Author: Claus Ibsen <[email protected]>
AuthorDate: Mon Feb 28 16:01:13 2022 +0100

    Fixed doc
---
 .../camel-any23/src/main/docs/any23-dataformat.adoc       | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/components/camel-any23/src/main/docs/any23-dataformat.adoc 
b/components/camel-any23/src/main/docs/any23-dataformat.adoc
index 0fed075..b79c8a6 100644
--- a/components/camel-any23/src/main/docs/any23-dataformat.adoc
+++ b/components/camel-any23/src/main/docs/any23-dataformat.adoc
@@ -36,20 +36,15 @@ 
from("direct:start").unmarshal().any23("http://mock.foo/bar";).to("mock:result");
 
 == Spring XML Example
 
-The following example shows how to use TidyMarkup
+The following example shows how to use Any23
 to unmarshal using Spring
 
-[source,java]
+[source,xml]
 -----------------------------------------------------------------------
 <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring";>
     <dataFormats>
-      <any23 id="any23" baseURI ="http://mock.foo/bar"; outputFormat="TURTLE" >
-        <configurations>
-          <entry>
-            <key>any23.extraction.metadata.nesting</key>
-            <value>off</value>
-          </entry>
-        </configurations>
+      <any23 id="any23" baseUri="http://mock.foo/bar"; outputFormat="TURTLE" >
+        <configuration key="any23.extraction.metadata.nesting" value="off"/>
         <extractors>html-head-title</extractors>
       </any23>
     </dataFormats>
@@ -73,7 +68,7 @@ If you use maven you could just add the following to your 
pom.xml,
 substituting the version number for the latest & greatest release (see
 the download page for the latest versions).
 
-[source,java]
+[source,xml]
 ----------------------------------------
 <dependency>
   <groupId>org.apache.camel</groupId>

Reply via email to