The production of Xi(++)(cc) baryons in proton-proton collisions at a centre-of-mass energy of root s = 13 Tev is measured in the transverse-momentum range 4 < p(T) < 15 GeV/c and the rapidity range 2.0 < y < 4.5. The data used in this measurement correspond to an integrated luminosity of 1.7 fb(-1), recorded by the LHCb experiment during 2016. The ratio of the Xi(++)(cc) production cross-section times the branching fraction of the Xi(++)(cc) -> Lambda K-+(c)-pi(+)pi(+) decay relative to the prompt Lambda(+)(c) production cross-section is found to be (2.22 +/- 0.27 +/- 0.29) x 10(-4), assuming the central value of the measured Xi(++)(cc) lifetime, where the first uncertainty is statistical and the second systematic.