of course you need to take into account the materials you are bolting together when ascertaining the correct torque. it is possible a high tensile bolt is used to hold two softer bits of kit together. the figure on the head of the bolt is generally the MAXIMUM torque that can be applied. having seen several expensive bits of electrical engineering borked due to somebody reading the MAX figure from the bolts head code i suggest checking the manufacturers recommendation. tightening in stages is also highly recommended.
after rebuilding the bikes over the weekend i can confirm that all the bolts on the SRAM x7 derailleurs and shifters are 5-7Nm.
shimano RD hanger to RD is 8-10Nm all other RD and FD bolts are 5-7Nm, STi shifters are 6-8 Nm to fit to handlebars.
shimano techdocs are superb information dockets as is the SRAM tech manual, all avaialble to download from the websites of the manufacturers. can even get the parts manuals too for ordering the right spares .
Decathlon give you a disc with most of this on and also a case with all the paper sheet install/repair instructions.