Generic interface to markup languages