use INameSyntax for element syntax
parsing logic for opening element