Here's how I replaced the valve body/valve chest in my 2004 Volkswagen Touareg V8 6 speed automatic transmission:
Disclaimers: I am not a mechanic. Neither are you. Your mileage may vary. You may do something wrong. I may have done something wrong. You may hurt yourself, your Touareg or others if you attempt this. The rain in Spain falls mainly in the plain, but not always. Don't start something you're not prepared to finish. If it itches, see a doctor for God's sake! ATF always goes downhill.
Tools required: torx bit, metric socket, various socket extensions and flex joints, metric box end wrench for the one bolt I couldn't get a socket on, beer, big ole honkin' 17mm allen wrench, really expensive torque wrench (VAG 1410 - VAG1410, TORQUE WRENCH), Bentley manual, something to take disassembly photos, movie editing software to delete the cursing, VCDS/VagCom - Ross-Tech: Home, jack stands, eye protection, gloves, drain/drip pan, 3X more towels than you think (lint free, please), cardboard for the floor makes it easier to slide around, some way to heat the garage if you're doing this in winter (I used a kerosene heater, a propane heater and a bottle of Sailor Jerry's rum - plus 3 layers of clothes), hose with a hook on one end and a funnel on the other. (I left out some stuff on purpose
) Oh yeah, if you can, get one of your children or friends to hand you tools and such. Takes a lot longer when you have to crawl out from under the car a lot (see note about cardboard).
I'm not going to say why you might want to replace your own valve body parts. If you're reading this, you've already crossed that bridge.
Buy a new transmission pan gasket, transmission oil filter (w/ o-ring) and 3 gallons or so of ATF. I used Amsoil synthetic multi-vehicle ATF. (AMSOIL Synthetic Multi-Vehicle Automatic Transmission Fluid). PM me for a good reliable source/price. Some folks might not like that I used that oil. Those folks can use whatever oil they want.
or none at all. 
Buy your replacement valve body. I got mine from 09D TR60SN OEM Updated Valve Body 2003-2004 W\ Pressure Switches (Porsche V6/V8) and have been happy so far. If you decide to buy new from a dealer, consider giving your local Porsche dealer a call before your VW dealer. You'll see why later in the text. Once the valve body arrives double check to make sure everything is there. Since you haven't started working on yours yet feel free to use my disassembly photo here -

GOPR0026 by HI Racing, on Flickr
Doublecheck that you have everything you need. Really.
Prep the car and work area. I'd have pressure washed the bottom before I started but it's a wee bit chilly here in the winter. I swept the floor and put cardboard leftover from Christmas everywhere. Pulled the car in the garage, lit the heaters and had a beer while the garage warmed up. Oh yeah, I also took the ratchet and torque wrench inside so it wouldn't be so cold.
Not going to hold your hand too much on this. You're changing the valve body. You don't need hand holding. You're going to get oil more places than you think. I will say this though - USE JACKSTANDS!!! One on every corner. No kidding. No jerking around. Don't be a dead fool for the lack of $100 of jack stands. You just spent $212 for that VAG 1410 didn't you? No jerking around about the eye protection either unless you keep spare eyes in your pocket. This is serious business and no car repair is worth you losing an eye or getting crushed. If you can't handle this, please pay someone. (and yes, one of my dad's uncles was crushed working on a car without jack stands - really)
Take out the drain plugs. Mine were seized. If either or both of yours are seized, STOP. Buy a new transmission pan and drain plugs before you go any further. You should NOT do what I did unless you have another car to drive or can rent a car. I had to rent one. If you need to buy a new pan, check the Porsche dealer. VW wanted $423 for the pan, Audi was $337 and Porsche was only $187. Wow, really?
After both plugs are out, drop the pan. I had a hard time getting to the driver's side front pan bolt. Used a little box end wrench on that one. Would have chosen an offset box end if I had one that size. Clean up the pan while the ATF drips. Take out the five little magnets and look at them up close and magnified if possible. Note the metal particles. Talk to a pro if you have concerns. Once the pan and magnets are clean put them back in the pan. Remove the transmission oil filter, oil filter o-ring from the valve body and discard. Keep track of those three bolts, you beer hound!
Take a photo of the valve body. I mean it. Note where the shift selector arm is. At this point I said to heck with getting ATF dripped on me everywhere and went inside for the night. When I came back I started unplugging connectors. They should all come out easy. If the little green ones seem stuck you're doing it wrong. I wound up using both an L-pick and a J-pick to get them disconnected. I used the L to pick up the black part of the connector and the J to pull the green part back. If there's any resistance you're not pulling up on the black part enough.
Verify everything is disconnected and wires are secured out of the way. Start unbolting the valve body. I had one end of bolts a little more unbolted than the others to let some more oil drain from the valve body at one end instead of everywhere. Had a shot of rum while marveling there was still ATF in there. Take out all the bolts except two on each end. Find some way to support that heavy, oil laded beastie and remove the last four bolts. Bet you wish you had paid some young fella to do this right about now!
Some of the bolts are longer and have a bit of threadless neck. Remember where those came from - you'll have to put them back in the same place. Here's what it looks like after the valve body has been removed:

GOPR0068 by HI Racing, on Flickr
Transfer the two sensors it tells you to transfer from your old valve body to the new one. Use that spiffy VAG 1410!
Look at your photo and note where the shift selector arm was when the old valve body was in the transmission. You'll need to get the new one aligned the same way. If you screw this up you'll have to take it all apart to fix so don't screw this up. Get ready to put the new valve body in place. Have those 4 bolts ready. This thing is heavy and it's really hard to hold up there and start the bolts with the other hand. I wedged my right elbow under the rear side and wrist under the front side between the valve body and cross member. That let me get two bolts in at the back/rear side and then I could hold the front up high enough to get the two bolts started there. This part was a royal PITA, no lie. At least there's not ATF dripping everywhere.
You remembered where the long ones go didn't you? VAG1410 them to the correct torque (you looked that up in your Bentley, right?)
Reconnect all the connectors noting the routing of the wires. Put it back like you found it, son.
Go have a beer and a think. Come back to it and compare it to the disassembly photo you took - again. Anything you get wrong will be a pain to fix. Did you remember that shift selector arm?
Once you're satisfied that you haven't screwed up, put on the new oil filter being careful to not cut the o-ring. Torque the bolts with the VAG 1410. Re-install the transmission oil pan with a new gasket and torque those bolts too. (Except the one you can't get a socket on)
Just guess on that one. 
FInally, fill 'er up with ATF per the Bentley info (and VCDS info from Ross Tech). While you're doing that, marvel at what the VW engineers were smoking when they decided this fill process was acceptable. Put your tools up, remove the jack stands, road test per the Bentley and take a final check of ATF level. I'm going to check mine again in a month or so just because I can.
Anything you can think of doing, someone else has already done, videoed and put on the bleepin' internets! Here's a condensed version of my install.
Feel free to ask any questions. I'm sure I've overlooked something. Life's more fun with surprises anyway!
Disclaimers: I am not a mechanic. Neither are you. Your mileage may vary. You may do something wrong. I may have done something wrong. You may hurt yourself, your Touareg or others if you attempt this. The rain in Spain falls mainly in the plain, but not always. Don't start something you're not prepared to finish. If it itches, see a doctor for God's sake! ATF always goes downhill.
Tools required: torx bit, metric socket, various socket extensions and flex joints, metric box end wrench for the one bolt I couldn't get a socket on, beer, big ole honkin' 17mm allen wrench, really expensive torque wrench (VAG 1410 - VAG1410, TORQUE WRENCH), Bentley manual, something to take disassembly photos, movie editing software to delete the cursing, VCDS/VagCom - Ross-Tech: Home, jack stands, eye protection, gloves, drain/drip pan, 3X more towels than you think (lint free, please), cardboard for the floor makes it easier to slide around, some way to heat the garage if you're doing this in winter (I used a kerosene heater, a propane heater and a bottle of Sailor Jerry's rum - plus 3 layers of clothes), hose with a hook on one end and a funnel on the other. (I left out some stuff on purpose
I'm not going to say why you might want to replace your own valve body parts. If you're reading this, you've already crossed that bridge.
Buy a new transmission pan gasket, transmission oil filter (w/ o-ring) and 3 gallons or so of ATF. I used Amsoil synthetic multi-vehicle ATF. (AMSOIL Synthetic Multi-Vehicle Automatic Transmission Fluid). PM me for a good reliable source/price. Some folks might not like that I used that oil. Those folks can use whatever oil they want.
Buy your replacement valve body. I got mine from 09D TR60SN OEM Updated Valve Body 2003-2004 W\ Pressure Switches (Porsche V6/V8) and have been happy so far. If you decide to buy new from a dealer, consider giving your local Porsche dealer a call before your VW dealer. You'll see why later in the text. Once the valve body arrives double check to make sure everything is there. Since you haven't started working on yours yet feel free to use my disassembly photo here -

GOPR0026 by HI Racing, on Flickr
Doublecheck that you have everything you need. Really.
Prep the car and work area. I'd have pressure washed the bottom before I started but it's a wee bit chilly here in the winter. I swept the floor and put cardboard leftover from Christmas everywhere. Pulled the car in the garage, lit the heaters and had a beer while the garage warmed up. Oh yeah, I also took the ratchet and torque wrench inside so it wouldn't be so cold.
Not going to hold your hand too much on this. You're changing the valve body. You don't need hand holding. You're going to get oil more places than you think. I will say this though - USE JACKSTANDS!!! One on every corner. No kidding. No jerking around. Don't be a dead fool for the lack of $100 of jack stands. You just spent $212 for that VAG 1410 didn't you? No jerking around about the eye protection either unless you keep spare eyes in your pocket. This is serious business and no car repair is worth you losing an eye or getting crushed. If you can't handle this, please pay someone. (and yes, one of my dad's uncles was crushed working on a car without jack stands - really)
Take out the drain plugs. Mine were seized. If either or both of yours are seized, STOP. Buy a new transmission pan and drain plugs before you go any further. You should NOT do what I did unless you have another car to drive or can rent a car. I had to rent one. If you need to buy a new pan, check the Porsche dealer. VW wanted $423 for the pan, Audi was $337 and Porsche was only $187. Wow, really?
After both plugs are out, drop the pan. I had a hard time getting to the driver's side front pan bolt. Used a little box end wrench on that one. Would have chosen an offset box end if I had one that size. Clean up the pan while the ATF drips. Take out the five little magnets and look at them up close and magnified if possible. Note the metal particles. Talk to a pro if you have concerns. Once the pan and magnets are clean put them back in the pan. Remove the transmission oil filter, oil filter o-ring from the valve body and discard. Keep track of those three bolts, you beer hound!
Take a photo of the valve body. I mean it. Note where the shift selector arm is. At this point I said to heck with getting ATF dripped on me everywhere and went inside for the night. When I came back I started unplugging connectors. They should all come out easy. If the little green ones seem stuck you're doing it wrong. I wound up using both an L-pick and a J-pick to get them disconnected. I used the L to pick up the black part of the connector and the J to pull the green part back. If there's any resistance you're not pulling up on the black part enough.
Verify everything is disconnected and wires are secured out of the way. Start unbolting the valve body. I had one end of bolts a little more unbolted than the others to let some more oil drain from the valve body at one end instead of everywhere. Had a shot of rum while marveling there was still ATF in there. Take out all the bolts except two on each end. Find some way to support that heavy, oil laded beastie and remove the last four bolts. Bet you wish you had paid some young fella to do this right about now!

GOPR0068 by HI Racing, on Flickr
Transfer the two sensors it tells you to transfer from your old valve body to the new one. Use that spiffy VAG 1410!
Look at your photo and note where the shift selector arm was when the old valve body was in the transmission. You'll need to get the new one aligned the same way. If you screw this up you'll have to take it all apart to fix so don't screw this up. Get ready to put the new valve body in place. Have those 4 bolts ready. This thing is heavy and it's really hard to hold up there and start the bolts with the other hand. I wedged my right elbow under the rear side and wrist under the front side between the valve body and cross member. That let me get two bolts in at the back/rear side and then I could hold the front up high enough to get the two bolts started there. This part was a royal PITA, no lie. At least there's not ATF dripping everywhere.
Reconnect all the connectors noting the routing of the wires. Put it back like you found it, son.
Once you're satisfied that you haven't screwed up, put on the new oil filter being careful to not cut the o-ring. Torque the bolts with the VAG 1410. Re-install the transmission oil pan with a new gasket and torque those bolts too. (Except the one you can't get a socket on)
FInally, fill 'er up with ATF per the Bentley info (and VCDS info from Ross Tech). While you're doing that, marvel at what the VW engineers were smoking when they decided this fill process was acceptable. Put your tools up, remove the jack stands, road test per the Bentley and take a final check of ATF level. I'm going to check mine again in a month or so just because I can.
Anything you can think of doing, someone else has already done, videoed and put on the bleepin' internets! Here's a condensed version of my install.
Feel free to ask any questions. I'm sure I've overlooked something. Life's more fun with surprises anyway!