You are naturally correct about the hopeless obscurity of the post you are immediately responding to. I apologize for that.
I'm not going to give out the details of the SGML format I'm working with since it is only used by my company and are major partner/competitor. This other company is run by a bunch of ruthless, viscious bastards who want us dead. It would not be above them to take my incompetence as demonstrated on this board and use it to convince our other clients not to work with us.
That being said, the <div tags at issue are one line section identifiers that contain ONLY a type attribute which I don't care about, and an id attribute which I'm trying to capture.
I'm also slightly insulted that you think I put any effort into the initial post. I spent more time cutting and pasting the code into the window than I did drafting it.