I tried doing it this way <route> <from uri="file://C:/Users/re267981/Desktop/input" /> <split streaming="true"> <xtokenize mode="w">ns:SyncPersonnel/ns:DataArea/ns:Personnel</xtokenize> <to uri="file://C:/Users/re267981/Desktop/output" /> </split> </route>
Is this the correct way? I also get an error as * Caused by: org.xml.sax.SAXParseException; lineNumber: 33; columnNumber: 25; cvc-complex-type.2.4.a: Invalid content was found starting with element 'xtokenize'. One of '{"http://camel.apache.org/schema/spring":description, "http://camel.apache.org/schema/spring":expressionDefinition, "http://camel.apache.org/schema/spring":constant, "http://camel.apache.org/schema/spring":el, "http://camel.apache.org/schema/spring":groovy, "http://camel.apache.org/schema/spring":header, "http://camel.apache.org/schema/spring":jxpath, "http://camel.apache.org/schema/spring":javaScript, "http://camel.apache.org/schema/spring":language, "http://camel.apache.org/schema/spring":method, "http://camel.apache.org/schema/spring":mvel, "http://camel.apache.org/schema/spring":ognl, "http://camel.apache.org/schema/spring":php, "http://camel.apache.org/schema/spring":property, "http://camel.apache.org/schema/spring":python, "http://camel.apache.org/schema/spring":ref, "http://camel.apache.org/schema/spring":ruby, "http://camel.apache.org/schema/spring":simple, "http://camel.apache.org/schema/spring":spel, "http://camel.apache.org/schema/spring":sql, "http://camel.apache.org/schema/spring":tokenize, "http://camel.apache.org/schema/spring":xpath, "http://camel.apache.org/schema/spring":xquery}' is expected. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)* Do i need to add any namespace anywhere? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Splitter-EIP-tp5757844p5757845.html Sent from the Camel - Users mailing list archive at Nabble.com.