Yes I need to use some content (not attributes) in the parent tag to decide if the content in the child tag should be written to the db or not.
So looks like I can only store the content of the child tag in a buffer first, and then analyze it when the ending parent tag is parsed?
Thanks!