Construct xml tag architecture