Above schematics are from cmsnl.com and are for 1978 xl100r USA.
If you use the link for cmsnl.com you will find a link somewhere on the home page to search for your bike via your serial number, hope these help!
I don't have any useful exp with the older xl100 engines so just putting it out there, is there any way an xr100 top end could be bolted to an xl100 bottom end? Thus explaining the 2 wires to CDI and also the xl serial number??
Just noticed this, at the end of the first schematic above there is a comment stating this may refer to 1981 and newer model sequence so always do the abc's, A.B.C. Always be checking!