i have file test.html and i need to load it's code and divide it in "units".
i need to get output like this:

if I open test.html in notepad and add line "bla bla bla", it should be recognized as new unit TEXT [part of text]....
it's hard for me to explain, but if you used kmx wap constructor, you know what i am talking about.
Please help,
thank you !