On Fri, Nov 17, 2023 at 11:53 AM thom...@gmail.com <thomh...@gmail.com> wrote:
>
> I am parsing the following line:
>
>           <w lemma="2377" n="1.0" morph="HNcmsc" id="31xeN">חֲז֖וֹן</w>
>
> I have created a class, OsisWord, for this line of text and have properties 
> set up for lemma, morph, etc. How do I access the body text between the tags?

Add one more property (with whatever name, does not matter), and add
`@JacksonXmlText` annotation to indicate that it should contain the
text from the element.

-+ Tatu +-

-- 
You received this message because you are subscribed to the Google Groups 
"jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jackson-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jackson-user/CAL4a10iwOC9duQvK37Zxg1iise95Jt6ZBivH80%2BBpepVw3M1oA%40mail.gmail.com.

Reply via email to