Added support for parsing semantic elements, ignoring the content portion