Hi, On Wed, Aug 3, 2011 at 9:14 AM, Nicolas <[email protected]> wrote: > did you find any solutions to get all the attributs. > My code is similar to yours and it still does not work. I > tried with tika 0.7 and tika 0.9.
Mehmet's code should work as described.
Are you passing the custom HtmlMapper object properly through the
ParseContext object to the parsing process? You should have a line of
code like this somewhere:
context.set(HtmlMapper.class, new MyCustomHtmlMapper());
BR,
Jukka Zitting
