Work in progress code for stylesheet xml