Used parsing of toc.xml and inline dynamic XML definition to fix problem with folder path for sprites.