Hi,
Presume there is a document like:
Intro body text.
1. Heading 1
1.1 Sub-heading
    This is body text.
1.2 Another sub-heading
    This is another body text, followed by:
    (A) an item
    (b) another itemI would like to get the content in way enabling me to determine if a certain text is a heading, sub-heading, body text, list-item etc.
(Using the Indexer, I have only managed to get a long string of all text using $output['body']['text']...)
Thanks!
 
                 Log in
                                    Log in
                                 Contact
                                Contact
                             Forum
                                Forum