diff --git a/README.md b/README.md index 9cc3bb4..dcd3c17 100644 --- a/README.md +++ b/README.md @@ -174,6 +174,13 @@ print_first_n_lines(demo_output, n=7) ... + +> [!TIP] +> +> **FAQ: How do I get the text of each element (or all of the document)? How do I get all of the text in a specific section?** +> +> Use the `element.text` field. Check out [this notebook](https://github.com/Elijas/sec-parser-exploration/blob/main/00_mdna.ipynb) for a full example. + We can also construct a semantic tree to allow for easy filtering by parent sections: ```python