[ 
https://issues.apache.org/jira/browse/CAMEL-8182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stephan Siano updated CAMEL-8182:
---------------------------------
    Attachment: 0001-CAMEL-8182-xpath-Add-documentType-option-to-xml-dsl.patch

> xpath - Add documentType option to xml dsl
> ------------------------------------------
>
>                 Key: CAMEL-8182
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8182
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-blueprint, camel-core, camel-spring
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.15.0
>
>         Attachments: 
> 0001-CAMEL-8182-xpath-Add-documentType-option-to-xml-dsl.patch
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Is-it-possible-to-set-the-documentType-on-an-XPath-in-XML-DSL-Spring-Blueprint-td5760613.html
> eg you can do in java dsl
> {code}
>       from("file://target/file/xpathsplit") 
>                     // set documentType to org.xml.sax.InputSource then Camel 
> will use SAX to split the file 
>                     
> .split(xpath("/persons/person").documentType(InputSource.class)).streaming() 
>                     .to("mock:splitted"); 
> {code}
> We need to be able to set documentType in the xml dsl.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to