[ 
https://issues.apache.org/activemq/browse/CAMEL-1184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48101#action_48101
 ] 

Ramon Buckland commented on CAMEL-1184:
---------------------------------------

Thanks James.. 

So Jonathan, it is missing this one liner.

[EMAIL PROTECTED]:~/projects/external/001_camel/trunk$ svn diff 
camel-core/src/main/resources/org/apache/camel/model/dataformat/jaxb.index
Index: 
camel-core/src/main/resources/org/apache/camel/model/dataformat/jaxb.index
===================================================================
--- camel-core/src/main/resources/org/apache/camel/model/dataformat/jaxb.index  
(revision 725686)
+++ camel-core/src/main/resources/org/apache/camel/model/dataformat/jaxb.index  
(working copy)
@@ -27,4 +27,5 @@
 StringDataFormat
 XMLBeansDataFormat
 XStreamDataFormat
-ZipDataFormat
\ No newline at end of file
+ZipDataFormat
+TidyMarkupDataFormat


> Add a new Dataformat - tidyMarkup - which allows us to unmarshal bad HTML to 
> good (XML) Html.
> ---------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1184
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1184
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: Ramon Buckland
>            Assignee: Ramon Buckland
>            Priority: Minor
>             Fix For: 1.5.1, 2.0.0
>
>         Attachments: tidyMarkup-sourcefiles.tgz
>
>   Original Estimate: 4 hours
>  Remaining Estimate: 4 hours
>
> Using TagSoup, a competent 'bad html' to good well formed (xml) Html, we can 
> create a new dataformat such that ..
>    from("direct:fromSomeHttpSite")
>        .unmarshal().tidyMarkup()
>        .setBody().xpath("//table/tr/td[1]")
>    .to("direct:foo")
> we get to turn the nasty HTML into goody HTML which can go through XSLT 
> components and be xpathed and all the goodness we love.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to