We have a series of documents that are being converted to HTML for web access. The documents are operating instructions that list actions people have to do as well as distinct requirements. We wanted to put a tag around each requirement so it can be automatically extracted using some code. The approach I took was to enclose each requirement with a comment:
<!-- Requirement Start --> THE REQUIREMENT HERE <!-- Requirement End -->
I created a routine that parses the document and gets all of the requirements from the documents. One of my users says I should use XML markup and create the markup like
<requirement> THE REQUIREMENT HERE </requirement>.
I'm not sure what is the correct approach. The driving factor for me is that the actual tag (not the content between the opening/closing tags) be hidden when looking at the screen in the browser window.