Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Web Design & Development > Usability

  • Print
  • + Share This
Like this article? We recommend

Locating Items in the Index.xml File

These XML files are not designed to be friendly for editing. My advice is to avoid editing these files as much as you can. However, if you want to modify an item within them, the easiest way to do it is to locate some identifying characteristic of the feature you want to change.

For example, if you want to change a font item that in your base template is set to Arial, you can use a search feature in your text or code editor to search for the term Arial. You might also pair it with the font size to ensure that you are locating the correct item. You can also use a search-and-replace feature to change all instances of the font or font size.

For images, you can use the same technique to search based on a known image name. You can also search for other code samples if you know them, such as colors or rollover effects. Once you’re fairly certain that you’ve located the correct item in the file, modify it appropriately (such as the font name or size). If you’re familiar with XML, you might want to explore these files in more detail, but anything more requires a solid understanding of XML and is beyond what I can hope to cover in this article.

  • + Share This
  • 🔖 Save To Your Account