On 17.03.19 18:38, Greg Hellings wrote:
You might need to add an instance of the GBFPlain class to the filter set before calling for stripText. It is specifically crafted to strip the tags you're talking about.

In general, you'll want to add a <Format>Plain object to the filter set for any module you're processing to plain text, where <Format> can be picked up by a query to the conf for the given module. Classes should exist for GBF, OSIS, TEI, and ThML source formatted text.

Thanks, makes sense.

Before figuring out the details myself - can you point me to any code example already existing? I think I once tried to add the GBFPlain class to the filter set, but somehow it didn't work as expected? Maybe I used it wrongly ...

Best regards,
Tobias


_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to