Merge pull request #3164 from jestabro/priority
xml: T6146: add utils and helper to provide priority data