It took a day and a half to complete the first available version. Different from previous ideas:
1. Tag format
After reading your comments, the label format is changed to <HOMER: Tag name = value> body </HOMER: Tag>.
2. template Parsing Method
Previously, we considered resolving all the page tags (including HTML and custom tags) and then finding custom tags for processing. This processing method mainly takes into account the way to add tags in the future, there is no need to modify the parsing template. It seems that this is unnecessary, without any reason to increase complexity. The current method is to ignore HTML tags and only parse custom tags.
3. Data Source support
Currently, object classes, datatable, and datareader can be used as data sources (Note: datareader has not been strictly tested ).
When the image is demoSource codeAlso updated: