parsing styles.xml and content.xml