Skip to content

Commit bcb8046

Browse files
committed
Add from_xml_file to simple usage section (README)
1 parent e3a69c6 commit bcb8046

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Requires Python 3.12+.
1717
```python
1818
from pygexml import Page
1919

20-
page = Page.from_xml_string(xml_string)
20+
page = Page.from_xml_file("docs/xml_file.xml")
2121

2222
for line in page.all_text():
2323
print(line)

0 commit comments

Comments
 (0)