How to format a computer using windows xp 2008 black edition

Do you mean XP Pro? All XP installs are the same. Stick the CD in and run windows setup. At some point during the installation you will be given the chance to add/delete partitions. Windows will format it's install partition. You can format the rest of the partitions after windows is done installing. This can be done via disk management.